blob: 879de8ccfdf5650254d8b8c3c8417a0cd78d4000 [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 ..."
bopsection result
puts "Finish boolean operation ..."
checkprops result -l 127.699
checkshape result
checksection result
checknbshapes result -vertex 4 -edge 6 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 11
checkview -display result -2d -path ${imagedir}/${test_image}.png