0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
[occt.git] / tests / bugs / modalg_7 / bug30186_1
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 bug24586_base.brep] base
10restore [locate_data_file bug24586_path.brep] path
11
12pipe q path base
13savehistory pipe_hist
14
15explode base
16
17generated r1 pipe_hist base_1
18generated r6 pipe_hist base_6
19checknbshapes r1 -vertex 16 -edge 28 -wire 14 -face 14 -shell 1 -solid 1
20checknbshapes r6 -vertex 24 -edge 42 -wire 20 -face 20 -shell 1 -solid 1
21checkprops r1 -v 53274.3
22checkprops r6 -v 194248
23
24explode base e
25
26generated r4 pipe_hist base_4
27generated r34 pipe_hist base_34
28checknbshapes r4 -vertex 8 -edge 10 -wire 3 -face 3
29checknbshapes r34 -vertex 8 -edge 10 -wire 3 -face 3
30checkprops r4 -s 5170.35
31checkprops r34 -s 8455.75
32
33explode base v
34
35generated r6 pipe_hist base_6
36generated r13 pipe_hist base_13
37checkprops r6 -l 517.035
38checkprops r13 -l 454.204
39
40explode path
41
42generated r1 pipe_hist path_1
43generated r2 pipe_hist path_2
44generated r3 pipe_hist path_3
45checknbshapes r1 -vertex 82 -edge 169 -wire 64 -face 64
46checknbshapes r2 -vertex 82 -edge 169 -wire 64 -face 64
47checknbshapes r3 -vertex 82 -edge 169 -wire 64 -face 64
48checkprops r1 -s 68000
49checkprops r2 -s 138858
50checkprops r3 -s 102000
51
52explode path v
53
54generated r2 pipe_hist path_2
55checknbshapes r2 -vertex 41 -edge 64
56checkprops r2 -l 680