0029807: [Regression to 7.0.0] Impossible to cut cone from prism
[occt.git] / tests / bugs / modalg_2 / bug22109_4
1 puts "============"
2 puts "OCC22109"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Boolean operation common fails. Appendix to the SALOME bug: 0021060 
7 #######################################################################
8
9 set BugNumber OCC22109
10
11 puts "Load first shape ..."
12 restore [locate_data_file bug22109_Solid_24.brep] b1 
13
14 puts "Load second shape ..."
15 restore [locate_data_file bug22109_tore.brep] b2 
16
17 puts "Prepare boolean operation ..."
18 bop b1 b2
19
20 puts "Start boolean operation ..."
21 boptuc result
22 puts "Finish boolean operation ..."
23
24 checkprops result -s 1140.6 
25 checkshape result
26
27 checknbshapes result -vertex 5 -edge 9 -wire 4 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 25
28
29 checkview -display result -2d -path ${imagedir}/${test_image}.png