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 | polyline pr1 5 0 0 5 -5 0 -5 -5 0 -5 0 0 |
11 | explode pr2 |
12 | wire pr2 pr2_1 pr2_2 |
13 | circle cc 0 100 0 5 |
14 | trim cc cc 0 pi |
15 | mkedge cc cc |
16 | wire pr3 cc |
17 | beziercurve c1 3 0 50 -45 5 50 -50 0 50 -55 |
18 | beziercurve c2 3 0 50 -45 -5 50 -50 0 50 -55 |
19 | trim c1 c1 0.5 1 |
20 | trim c2 c2 0.5 1 |
21 | mkedge e1 c1 |
22 | mkedge e2 c2 |
23 | orientation e2 R |
24 | wire pr4 e1 e2 |
25 | donly pr1 pr2 pr3 pr4 |
26 | |
27 | explode pr1 |
28 | explode pr2 |
29 | explode pr3 |
30 | explode pr4 |
31 | |
32 | thrusections r 1 1 pr1 pr2 pr3 pr4 pr1 |
33 | |
34 | genthrus r1 pr1_1 |
35 | genthrus r2 pr1_2 |
36 | genthrus r3 pr1_3 |
37 | genthrus r4 pr2_1 |
38 | genthrus r5 pr2_2 |
39 | genthrus r6 pr3_1 |
40 | genthrus r7 pr4_1 |
41 | genthrus r8 pr4_2 |
42 | |
43 | checknbshapes r1 -face 4 |
44 | checkprops r1 -s 902.335 |
45 | checknbshapes r2 -face 8 |
46 | checkprops r2 -s 2278.73 |
47 | checknbshapes r3 -face 4 |
48 | checkprops r3 -s 902.335 |
49 | checknbshapes r4 -face 8 |
50 | checkprops r4 -s 2041.7 |
51 | checknbshapes r5 -face 8 |
52 | checkprops r5 -s 2041.7 |
53 | checknbshapes r6 -face 16 |
54 | checkprops r6 -s 4083.4 |
55 | checknbshapes r7 -face 8 |
56 | checkprops r7 -s 2041.7 |
57 | checknbshapes r8 -face 8 |
58 | checkprops r8 -s 2041.7 |
59 | |
60 | explode pr1 v |
61 | explode pr2 v |
62 | explode pr3 v |
63 | explode pr4 v |
64 | |
65 | genthrus r9 pr1_1 |
66 | genthrus r10 pr1_2 |
67 | genthrus r11 pr1_3 |
68 | genthrus r12 pr1_4 |
69 | genthrus r13 pr2_1 |
70 | genthrus r14 pr2_2 |
71 | genthrus r15 pr2_3 |
72 | genthrus r16 pr3_1 |
73 | genthrus r17 pr3_2 |
74 | genthrus r18 pr4_1 |
75 | genthrus r19 pr4_2 |
76 | genthrus r20 pr4_3 |
77 | |
78 | checkprops r9 -l 276.046 |
79 | checkprops r10 -l 298.732 |
80 | checkprops r11 -l 298.732 |
81 | checkprops r12 -l 276.046 |
82 | checkprops r13 -l 276.046 |
83 | checkprops r14 -l 311.127 |
84 | checkprops r15 -l 276.046 |
85 | checkprops r16 -l 276.046 |
86 | checkprops r17 -l 276.046 |
87 | checkprops r18 -l 276.046 |
88 | checkprops r19 -l 311.127 |
89 | checkprops r20 -l 276.046 |