50258e77 |
1 | puts "============" |
2 | puts "OCC26150" |
3 | puts "============" |
4 | puts "" |
5 | ######################################################################### |
6 | # BRepOffsetAPI_ThruSections doesn't implement history method Generated() |
7 | ######################################################################### |
8 | |
9 | polyline w1 -10 -10 0 10 -10 0 10 10 0 -10 10 0 -10 -10 0 |
10 | polyline w2 0 -10 20 -10 7 20 10 8 20 0 -10 20 |
11 | circle w3 0 0 40 10 |
12 | mkedge w3 w3 |
13 | wire w3 w3 |
14 | vertex v1 0 0 -30 |
15 | vertex v2 0 0 70 |
16 | |
17 | explode w1 |
18 | |
19 | thrusections r 1 1 v1 w1 w2 w3 v2 |
20 | |
21 | genthrus r1 w1_1 |
22 | genthrus r2 w1_2 |
23 | genthrus r3 w1_3 |
24 | genthrus r4 w1_4 |
25 | |
26 | checknbshapes r1 -face 8 |
27 | checkprops r1 -s 1232.78 |
28 | checknbshapes r2 -face 12 |
29 | checkprops r2 -s 1215.55 |
30 | checknbshapes r3 -face 4 |
31 | checkprops r3 -s 1155.34 |
32 | checknbshapes r4 -face 8 |
33 | checkprops r4 -s 1214.91 |
34 | |
35 | genthrus r5 v1 |
36 | genthrus r6 v2 |
37 | |
38 | checknbshapes r5 -edge 32 |
39 | checkprops r5 -l 841.334 |
40 | checknbshapes r6 -edge 32 |
41 | checkprops r6 -l 841.334 |