0027015: Sewing returns invalid shape if some faces are nearly plane cones
[occt.git] / tests / bugs / modalg_2 / bug22801
1 puts "============"
2 puts "OCC22801"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Boolean operations algorithm fails on two customer's shapes
7 #######################################################################
8
9 set BugNumber OCC22801
10
11 puts "Load first shape ..."
12 restore [locate_data_file OCC22801-first_shape.brep] b1 
13
14 puts "Load second shape ..."
15 restore [locate_data_file OCC22801-second_shape.brep] b2 
16
17 puts "Prepare boolean operation ..."
18 bop b1 b2
19
20 puts "Start boolean operation ..."
21 bopcut result
22 puts "Finish boolean operation ..."
23
24 checkprops result -s 287634 
25 checkshape result
26
27 checknbshapes result -vertex 55 -edge 97 -wire 44 -face 44 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 243
28 checkview -display result -3d -path ${imagedir}/${test_image}.png