blob: 5a4e8e1c760f31a10bd61a66547c3a34be25508b [file] [edit]
puts "============"
puts "OCC22109"
puts "============"
puts ""
#######################################################################
# Boolean operation common fails. Appendix to the SALOME bug: 0021060
#######################################################################
set BugNumber OCC22109
puts "Load first shape ..."
restore [locate_data_file bug22109_Solid_24.brep] b1
puts "Load second shape ..."
restore [locate_data_file bug22109_tore.brep] b2
puts "Prepare boolean operation ..."
bop b1 b2
puts "Start boolean operation ..."
boptuc result
puts "Finish boolean operation ..."
checkprops result -s 1140.6
checkshape result
checknbshapes result -vertex 5 -edge 9 -wire 4 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 25
checkview -display result -2d -path ${imagedir}/${test_image}.png