puts "============"
puts "OCC22557"
puts "============"
puts ""
#######################################################################
# Bad result of the Cut operation (for CAS63-sp12-*)
#######################################################################

set BugNumber OCC22557

puts "Load first shape ..."
restore [locate_data_file bug22557_Bloc_racine_70deg.brep] b1 

puts "Load second shape ..."
restore [locate_data_file bug22557_PaveEntree.brep] b2 

puts "Prepare boolean operation ..."
bop b1 b2

puts "Start boolean operation ..."
bopcut result
puts "Finish boolean operation ..."

checkprops result -s 0.172994 
checkshape result

checknbshapes result -vertex 192 -edge 288 -wire 98 -face 98 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 679

checkview -display result -2d -path ${imagedir}/${test_image}.png
