cab49d68 |
1 | puts "============" |
2 | puts "OCC30186" |
3 | puts "============" |
4 | puts "" |
5 | ############################################################################## |
6 | # BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges |
7 | ############################################################################## |
8 | |
9 | restore [locate_data_file OCC25887_shape.brep] a |
10 | explode a |
11 | renamevar a_1 path |
12 | renamevar a_2 base |
13 | |
14 | pipe q path base |
15 | savehistory pipe_hist |
16 | |
17 | explode base |
18 | |
19 | generated r1 pipe_hist base_1 |
20 | checknbshapes r1 -vertex 6 -edge 10 -wire 8 -face 6 -shell 1 -solid 1 |
21 | checkprops r1 -v 0.689148 |
22 | |
23 | explode base e |
24 | |
25 | generated r1 pipe_hist base_1 |
26 | generated r2 pipe_hist base_2 |
27 | checknbshapes r1 -vertex 3 -edge 5 -wire 2 -face 2 |
28 | checknbshapes r2 -vertex 3 -edge 5 -wire 2 -face 2 |
29 | checkprops r1 -s 35.3469 |
30 | checkprops r2 -s 33.5796 |
31 | |
32 | explode base v |
33 | |
34 | generated r1 pipe_hist base_1 |
35 | generated r2 pipe_hist base_2 |
36 | checkprops r1 -l 14.0641 |
37 | checkprops r2 -l 14.0641 |
38 | |
39 | explode path |
40 | |
41 | generated r1 pipe_hist path_1 |
42 | generated r2 pipe_hist path_2 |
43 | checknbshapes r1 -vertex 4 -edge 6 -wire 2 -face 2 |
44 | checknbshapes r2 -vertex 4 -edge 6 -wire 2 -face 2 |
45 | checkprops r1 -s 35.9763 |
46 | checkprops r2 -s 32.9503 |
47 | |
48 | explode path v |
49 | |
50 | generated r2 pipe_hist path_2 |
51 | checknbshapes r2 -vertex 2 -edge 2 |
52 | checkprops r2 -l 4.90088 |