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 | polyline w2 10 8 20 0 -10 20 -10 7 20 |
11 | circle w3 0 0 40 10 |
12 | trim w3 w3 pi 2*pi |
13 | mkedge w3 w3 |
14 | wire w3 w3 |
15 | vertex v1 0 0 -30 |
16 | vertex v2 0 0 70 |
17 | |
18 | explode w1 |
19 | explode w2 |
20 | explode w3 |
21 | |
22 | thrusections r 0 0 v1 w1 w2 w3 v2 |
23 | |
4f7d41ea |
24 | savehistory hist |
25 | |
26 | generated r1 hist w1_1 |
27 | generated r2 hist w1_2 |
28 | generated r3 hist w1_3 |
29 | generated r4 hist w2_1 |
30 | generated r5 hist w2_2 |
31 | generated r6 hist w3_1 |
50258e77 |
32 | |
33 | checknbshapes r1 -face 1 |
34 | checkprops r1 -s 1409.51 |
35 | checknbshapes r2 -face 2 |
36 | checkprops r2 -s 1703.44 |
37 | checknbshapes r3 -face 1 |
38 | checkprops r3 -s 1401.17 |
39 | checknbshapes r4 -face 2 |
40 | checkprops r4 -s 2316.52 |
41 | checknbshapes r5 -face 2 |
42 | checkprops r5 -s 2197.61 |
43 | checknbshapes r6 -face 4 |
44 | checkprops r6 -s 4514.13 |
45 | |
46 | explode w1 v |
47 | explode w2 v |
48 | explode w3 v |
49 | |
4f7d41ea |
50 | generated r7 hist w1_1 |
51 | generated r8 hist w1_2 |
52 | generated r9 hist w1_3 |
53 | generated r10 hist w1_4 |
54 | generated r11 hist w2_1 |
55 | generated r12 hist w2_2 |
56 | generated r13 hist w2_3 |
57 | generated r14 hist w3_1 |
58 | generated r15 hist w3_2 |
59 | generated r16 hist v1 |
60 | generated r17 hist v2 |
50258e77 |
61 | |
62 | checkprops r7 -l 109.077 |
63 | checkprops r8 -l 122.394 |
64 | checkprops r9 -l 124.029 |
65 | checkprops r10 -l 109.865 |
66 | checkprops r11 -l 109.865 |
67 | checkprops r12 -l 104.896 |
68 | checkprops r13 -l 109.077 |
69 | checkprops r14 -l 109.077 |
70 | checkprops r15 -l 109.865 |
71 | checkprops r16 -l 570.261 |
72 | checkprops r17 -l 570.261 |