0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug30186_2
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 bug23903_base.brep] base
10restore [locate_data_file bug30186_BlendedContour.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 1182.77
22checkprops r2 -v 1182.77
23
24explode base e
25
26generated r1 pipe_hist base_1
27generated r2 pipe_hist base_2
28checknbshapes r1 -vertex 16 -edge 24 -wire 8 -face 8
29checknbshapes r2 -vertex 16 -edge 24 -wire 8 -face 8
30checkprops r1 -s 470.61
31checkprops r2 -s 739.232
32
33explode base v
34
35generated r1 pipe_hist base_1
36generated r2 pipe_hist base_2
37checkprops r1 -l 53.4265
38checkprops r2 -l 93.6389
39
40explode path
41
42generated r1 pipe_hist path_1
43generated r3 pipe_hist path_3
44generated r4 pipe_hist path_4
45checknbshapes r1 -vertex 4 -edge 8 -wire 3 -face 3
46checknbshapes r3 -vertex 4 -edge 8 -wire 3 -face 3
47checknbshapes r4 -vertex 4 -edge 8 -wire 3 -face 3
48checkprops r1 -s 318.074
49checkprops r3 -s 323.376
50checkprops r4 -s 166.543
51
52explode path v
53
54generated r1 pipe_hist path_1
55checknbshapes r1 -vertex 2 -edge 3
56checkprops r1 -l 26.5062