0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug30186_3
CommitLineData
cab49d68 1puts "============"
2puts "OCC30186"
3puts "============"
4puts ""
5##############################################################################
6# BRepOffsetAPI_MakePipe Generated() method produces no result for spine edges
7##############################################################################
8
9restore [locate_data_file bug25272_base.brep] base
10restore [locate_data_file bug25272_path.brep] path
11
12pipe q path base
13savehistory pipe_hist
14
15explode base
16
17generated r1 pipe_hist base_1
18generated r2 pipe_hist base_2
19checknbshapes r1 -vertex 16 -edge 32 -wire 16 -face 16 -shell 1 -solid 1
20checknbshapes r2 -vertex 16 -edge 32 -wire 16 -face 16 -shell 1 -solid 1
21checkprops r1 -v 1.88923
22checkprops r2 -v 1.88923
23
24explode base e
25
26generated r1 pipe_hist base_1
27generated r2 pipe_hist base_2
28generated r3 pipe_hist base_3
29checknbshapes r1 -vertex 8 -edge 12 -wire 4 -face 4
30checknbshapes r2 -vertex 8 -edge 12 -wire 4 -face 4
31checknbshapes r3 -vertex 8 -edge 12 -wire 4 -face 4
32checkprops r1 -s 93.5894
33checkprops r2 -s 95.333
34checkprops r3 -s 1.1447
35
36explode base v
37
38generated r1 pipe_hist base_1
39generated r3 pipe_hist base_3
40checkprops r1 -l 57.2976 -deps 1.e-7
41checkprops r3 -l 57.172 -deps 1.e-7
42
43explode path
44
45generated r1 pipe_hist path_1
46generated r2 pipe_hist path_2
47generated r3 pipe_hist path_3
48generated r4 pipe_hist path_4
49checknbshapes r1 -vertex 16 -edge 32 -wire 12 -face 12
50checknbshapes r2 -vertex 16 -edge 32 -wire 12 -face 12
51checknbshapes r3 -vertex 16 -edge 32 -wire 12 -face 12
52checknbshapes r4 -vertex 16 -edge 32 -wire 12 -face 12
53checkprops r1 -s 191.581
54checkprops r2 -s 100.311
55checkprops r3 -s 191.581
56checkprops r4 -s 328.584
57
58explode path v
59
60generated r1 pipe_hist path_1
61checknbshapes r1 -vertex 8 -edge 12
62checkprops r1 -l 12.772