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_pr2.brep] pr2 |
10 | restore [locate_data_file bug27386_pr3.brep] pr3 |
11 | beziercurve c1 3 0 50 -45 5 50 -50 0 50 -55 |
12 | beziercurve c2 3 0 50 -45 -5 50 -50 0 50 -55 |
13 | mkedge e1 c1 |
14 | mkedge e2 c2 |
15 | orientation e2 R |
16 | wire pr4 e1 e2 |
17 | vertex vv 0 0 0 |
18 | donly vv pr2 pr3 pr4 |
19 | |
20 | explode pr2 |
21 | explode pr3 |
22 | explode pr4 |
23 | |
24 | thrusections r 1 1 vv pr2 pr3 pr4 vv |
25 | |
4f7d41ea |
26 | savehistory hist |
27 | |
28 | generated r1 hist pr2_1 |
29 | generated r2 hist pr2_2 |
30 | generated r3 hist pr2_3 |
31 | generated r4 hist pr3_1 |
32 | generated r5 hist pr4_1 |
33 | generated r6 hist pr4_2 |
50258e77 |
34 | |
35 | checknbshapes r1 -face 8 |
36 | checkprops r1 -s 1659.7 |
37 | checknbshapes r2 -face 4 |
38 | checkprops r2 -s 1660.96 |
39 | checknbshapes r3 -face 8 |
40 | checkprops r3 -s 1671.28 |
41 | checknbshapes r4 -face 20 |
42 | checkprops r4 -s 4991.94 |
43 | checknbshapes r5 -face 12 |
44 | checkprops r5 -s 2495.34 |
45 | checknbshapes r6 -face 8 |
46 | checkprops r6 -s 2496.6 |
47 | |
48 | explode pr2 v |
49 | explode pr3 v |
50 | explode pr4 v |
51 | |
4f7d41ea |
52 | generated r7 hist vv |
53 | generated r8 hist pr2_1 |
54 | generated r9 hist pr2_2 |
55 | generated r10 hist pr2_3 |
56 | generated r11 hist pr3_1 |
57 | generated r12 hist pr4_1 |
58 | generated r13 hist pr4_2 |
50258e77 |
59 | |
60 | checknbshapes r7 -edge 20 |
61 | checkprops r7 -l 1386.75 |
62 | checknbshapes r8 -edge 4 |
63 | checkprops r8 -l 269.926 |
64 | checknbshapes r9 -edge 4 |
65 | checkprops r9 -l 304.224 |
66 | checknbshapes r10 -edge 4 |
67 | checkprops r10 -l 269.926 |
68 | checknbshapes r11 -edge 4 |
69 | checkprops r11 -l 280.861 |
70 | checknbshapes r12 -edge 4 |
71 | checkprops r12 -l 261.815 |
72 | checknbshapes r13 -edge 4 |
73 | checkprops r13 -l 304.224 |