953d87f3 |
1 | puts "============" |
2 | puts "OCC27386" |
3 | puts "============" |
4 | puts "" |
5 | ##################################################################### |
6 | # BRepOffsetAPI_MakePipeShell does not provide history of generations |
7 | ##################################################################### |
8 | |
9 | |
10 | restore [locate_data_file bug27386_sp.brep] sp |
11 | polyline pr1 -5 0 0 -5 -5 0 5 -5 0 5 0 0 |
12 | restore [locate_data_file bug27386_pr2.brep] pr2 |
13 | explode pr2 |
14 | wire pr2 pr2_1 pr2_2 |
15 | circle cc 0 100 0 5 |
16 | trim cc cc 0 pi |
17 | mkedge pr3 cc |
18 | wire pr3 pr3 |
19 | donly sp pr1 pr2 pr3 |
20 | |
953d87f3 |
21 | mksweep sp |
22 | addsweep pr3 |
23 | addsweep pr1 |
24 | addsweep pr2 |
25 | buildsweep q |
26 | |
27 | explode pr1 |
28 | explode pr2 |
29 | explode pr3 |
30 | |
4f7d41ea |
31 | savehistory sweep_hist |
953d87f3 |
32 | |
4f7d41ea |
33 | generated r1_1 sweep_hist pr1_1 |
34 | generated r1_2 sweep_hist pr1_2 |
35 | generated r1_3 sweep_hist pr1_3 |
953d87f3 |
36 | |
cab49d68 |
37 | checknbshapes r1_1 -face 1 |
38 | checkprops r1_1 -s 798.081 |
39 | checknbshapes r1_2 -face 2 |
40 | checkprops r1_2 -s 1653.11 |
41 | checknbshapes r1_3 -face 1 |
42 | checkprops r1_3 -s 798.081 |
43 | |
4f7d41ea |
44 | generated r2_1 sweep_hist pr2_1 |
45 | generated r2_2 sweep_hist pr2_2 |
46 | |
cab49d68 |
47 | checknbshapes r2_1 -face 2 |
48 | checkprops r2_1 -s 1624.64 |
49 | checknbshapes r2_2 -face 2 |
50 | checkprops r2_2 -s 1624.64 |
51 | |
4f7d41ea |
52 | generated r3_1 sweep_hist pr3_1 |
953d87f3 |
53 | |
cab49d68 |
54 | checknbshapes r3_1 -face 4 |
55 | checkprops r3_1 -s 3249.27 |
56 | |
953d87f3 |
57 | explode pr1 v |
58 | explode pr2 v |
59 | explode pr3 v |
60 | |
4f7d41ea |
61 | generated r1_1 sweep_hist pr1_1 |
62 | generated r1_2 sweep_hist pr1_2 |
63 | generated r1_3 sweep_hist pr1_3 |
64 | generated r1_4 sweep_hist pr1_4 |
953d87f3 |
65 | |
cab49d68 |
66 | checkprops r1_1 -l 147.049 |
67 | checkprops r1_2 -l 161.905 |
68 | checkprops r1_3 -l 161.905 |
69 | checkprops r1_4 -l 147.049 |
70 | |
4f7d41ea |
71 | generated r2_1 sweep_hist pr2_1 |
72 | generated r2_2 sweep_hist pr2_2 |
73 | generated r2_3 sweep_hist pr2_3 |
953d87f3 |
74 | |
cab49d68 |
75 | checkprops r2_1 -l 147.049 |
76 | checkprops r2_2 -l 172.788 |
77 | checkprops r2_3 -l 147.049 |
78 | |
4f7d41ea |
79 | generated r3_1 sweep_hist pr3_1 |
80 | generated r3_2 sweep_hist pr3_2 |
cab49d68 |
81 | |
82 | checkprops r3_1 -l 147.049 |
83 | checkprops r3_2 -l 147.049 |