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 bug25480_part1.brep] base |
10 | restore [locate_data_file bug25480_part2.brep] path |
11 | |
12 | pipe q path base |
13 | savehistory pipe_hist |
14 | |
15 | explode base f |
16 | |
17 | generated r1 pipe_hist base_1 |
18 | generated r8 pipe_hist base_8 |
19 | checknbshapes r1 -vertex 16 -edge 28 -wire 14 -face 14 -shell 1 -solid 1 |
20 | checknbshapes r8 -vertex 16 -edge 28 -wire 14 -face 14 -shell 1 -solid 1 |
21 | checkprops r1 -v 3219.23 |
22 | checkprops r8 -v 3181.78 |
23 | |
24 | explode base e |
25 | |
26 | generated r10 pipe_hist base_10 |
27 | generated r25 pipe_hist base_25 |
28 | checknbshapes r10 -vertex 8 -edge 10 -wire 3 -face 3 |
29 | checknbshapes r25 -vertex 8 -edge 10 -wire 3 -face 3 |
30 | checkprops r10 -s 471.736 |
31 | checkprops r25 -s 1258.1 |
32 | |
33 | explode base v |
34 | |
35 | generated r10 pipe_hist base_10 |
36 | generated r25 pipe_hist base_25 |
37 | checkprops r10 -l 186.888 |
38 | checkprops r25 -l 174.231 |
39 | |
40 | explode path |
41 | |
42 | generated r1 pipe_hist path_1 |
43 | generated r2 pipe_hist path_2 |
44 | generated r3 pipe_hist path_3 |
45 | checknbshapes r1 -vertex 112 -edge 168 -wire 56 -face 56 |
46 | checknbshapes r2 -vertex 112 -edge 168 -wire 56 -face 56 |
47 | checknbshapes r3 -vertex 112 -edge 168 -wire 56 -face 56 |
48 | checkprops r1 -s 7017.89 |
49 | checkprops r2 -s 29728.3 |
50 | checkprops r3 -s 11198.9 |
51 | |
52 | explode path v |
53 | |
54 | generated r3 pipe_hist path_3 |
55 | checknbshapes r3 -vertex 56 -edge 56 |
56 | checkprops r3 -l 266.84 |