50258e77 |
1 | puts "============" |
2 | puts "OCC26150" |
3 | puts "============" |
4 | puts "" |
5 | ######################################################################### |
6 | # BRepOffsetAPI_ThruSections doesn't implement history method Generated() |
7 | ######################################################################### |
8 | |
9 | restore [locate_data_file bug27386_pr1.brep] pr1 |
10 | restore [locate_data_file bug27386_pr2.brep] pr2 |
11 | restore [locate_data_file bug27386_pr3.brep] pr3 |
12 | beziercurve c1 3 0 50 -45 5 50 -50 0 50 -55 |
13 | beziercurve c2 3 0 50 -45 -5 50 -50 0 50 -55 |
14 | mkedge e1 c1 |
15 | mkedge e2 c2 |
16 | orientation e2 R |
17 | wire pr4 e1 e2 |
18 | donly pr1 pr2 pr3 pr4 |
19 | |
20 | explode pr1 |
21 | explode pr2 |
22 | explode pr3 |
23 | explode pr4 |
24 | |
25 | thrusections r 1 0 pr1 pr2 pr3 pr4 pr1 |
26 | |
4f7d41ea |
27 | savehistory hist |
28 | |
29 | generated r1 hist pr1_1 |
30 | generated r2 hist pr1_2 |
31 | generated r3 hist pr1_3 |
32 | generated r4 hist pr1_4 |
33 | generated r5 hist pr2_1 |
34 | generated r6 hist pr2_2 |
35 | generated r7 hist pr2_3 |
36 | generated r8 hist pr3_1 |
37 | generated r9 hist pr4_1 |
38 | generated r10 hist pr4_2 |
50258e77 |
39 | |
40 | checknbshapes r1 -face 2 |
41 | checkprops r1 -s 2254.99 |
42 | checknbshapes r2 -face 2 |
43 | checkprops r2 -s 2416.89 |
44 | checknbshapes r3 -face 2 |
45 | checkprops r3 -s 2792.66 |
46 | checknbshapes r4 -face 3 |
47 | checkprops r4 -s 2422.18 |
48 | checknbshapes r5 -face 3 |
49 | checkprops r5 -s 3484.47 |
50 | checknbshapes r6 -face 2 |
51 | checkprops r6 -s 3479.17 |
52 | checknbshapes r7 -face 4 |
53 | checkprops r7 -s 2923.08 |
54 | checknbshapes r8 -face 9 |
55 | checkprops r8 -s 9886.72 |
56 | checknbshapes r9 -face 5 |
57 | checkprops r9 -s 4946.01 |
58 | checknbshapes r10 -face 4 |
59 | checkprops r10 -s 4940.71 |
60 | |
61 | explode pr1 v |
62 | explode pr2 v |
63 | explode pr3 v |
64 | explode pr4 v |
65 | |
4f7d41ea |
66 | generated r11 hist pr1_1 |
67 | generated r12 hist pr1_2 |
68 | generated r13 hist pr1_3 |
69 | generated r14 hist pr1_4 |
70 | generated r15 hist pr2_1 |
71 | generated r16 hist pr2_2 |
72 | generated r17 hist pr2_3 |
73 | generated r18 hist pr3_1 |
74 | generated r19 hist pr4_1 |
75 | generated r20 hist pr4_2 |
50258e77 |
76 | |
77 | checkprops r11 -l 305.61 |
78 | checkprops r12 -l 305.61 |
79 | checkprops r13 -l 347.48 |
80 | checkprops r14 -l 347.48 |
81 | checkprops r15 -l 309.372 |
82 | checkprops r16 -l 362.824 |
83 | checkprops r17 -l 309.372 |
84 | checkprops r18 -l 327.615 |
85 | checkprops r19 -l 296.856 |
86 | checkprops r20 -l 362.824 |