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 bug23903_base.brep] base |
10 | restore [locate_data_file bug30186_BlendedContour.brep] path |
11 | |
12 | pipe q path base |
13 | savehistory pipe_hist |
14 | |
15 | explode base |
16 | |
17 | generated r1 pipe_hist base_1 |
18 | generated r2 pipe_hist base_2 |
19 | checknbshapes r1 -vertex 16 -edge 32 -wire 16 -face 16 -shell 1 -solid 1 |
20 | checknbshapes r2 -vertex 16 -edge 32 -wire 16 -face 16 -shell 1 -solid 1 |
21 | checkprops r1 -v 1182.77 |
22 | checkprops r2 -v 1182.77 |
23 | |
24 | explode base e |
25 | |
26 | generated r1 pipe_hist base_1 |
27 | generated r2 pipe_hist base_2 |
28 | checknbshapes r1 -vertex 16 -edge 24 -wire 8 -face 8 |
29 | checknbshapes r2 -vertex 16 -edge 24 -wire 8 -face 8 |
30 | checkprops r1 -s 470.61 |
31 | checkprops r2 -s 739.232 |
32 | |
33 | explode base v |
34 | |
35 | generated r1 pipe_hist base_1 |
36 | generated r2 pipe_hist base_2 |
37 | checkprops r1 -l 53.4265 |
38 | checkprops r2 -l 93.6389 |
39 | |
40 | explode path |
41 | |
42 | generated r1 pipe_hist path_1 |
43 | generated r3 pipe_hist path_3 |
44 | generated r4 pipe_hist path_4 |
45 | checknbshapes r1 -vertex 4 -edge 8 -wire 3 -face 3 |
46 | checknbshapes r3 -vertex 4 -edge 8 -wire 3 -face 3 |
47 | checknbshapes r4 -vertex 4 -edge 8 -wire 3 -face 3 |
48 | checkprops r1 -s 318.074 |
49 | checkprops r3 -s 323.376 |
50 | checkprops r4 -s 166.543 |
51 | |
52 | explode path v |
53 | |
54 | generated r1 pipe_hist path_1 |
55 | checknbshapes r1 -vertex 2 -edge 3 |
56 | checkprops r1 -l 26.5062 |