0026938: Boolean operations fail between two ellipsoids
[occt.git] / tests / bugs / modalg_1 / bug13140
CommitLineData
3bea4c16 1puts "============"
2puts "OCC13140"
3puts "============"
4puts ""
5#######################################################################
6# Exception during creation pipe on from attached spine and profile
7#######################################################################
8
9restore [locate_data_file OCC13140_Spine.brep] Spine
10restore [locate_data_file OCC13140_Profile.brep] Profile
11
12pipe result Spine Profile
13
58cf74e0 14checkprops result -s 3.68518
15checkshape result
3bea4c16 16set good_vertex 2
17set good_edge 3
18set good_wire 1
19set good_face 1
20
21set explode_v_length [llength [explode result v] ]
22set explode_e_length [llength [explode result e] ]
23set explode_w_length [llength [explode result w] ]
24set explode_f_length [llength [explode result f] ]
25
26if { ${explode_v_length} != ${good_vertex} } {
27 puts "vertex: Faulty"
28} else {
29 puts "vertex: OK"
30}
31if { ${explode_e_length} != ${good_edge} } {
32 puts "edge: Faulty"
33} else {
34 puts "edge: OK"
35}
36if { ${explode_w_length} != ${good_wire} } {
37 puts "wire: Faulty"
38} else {
39 puts "wire: OK"
40}
41if { ${explode_f_length} != ${good_face} } {
42 puts "face: Faulty"
43} else {
44 puts "face: OK"
45}
46
5747059b 47checkview -display result -2d -path ${imagedir}/${test_image}.png
3bea4c16 48