puts "========="
puts "OCC24558"
puts "========="
puts ""
###########################################################
# Boolean operation can not create all results solids which should be built.
###########################################################

restore [locate_data_file bug24558_Box.brep] b1
restore [locate_data_file bug24558_Surface_1.brep] s1
restore [locate_data_file bug24558_Surface_2.brep] s2
restore [locate_data_file bug24558_Surface_3.brep] s3
restore [locate_data_file bug24558_Surface_4.brep] s4

bclearobjects
bcleartools
baddobjects b1 s1 s2 s3 s4

bfillds
bbuild result

checkprops result -s 134338 
checkshape result

checknbshapes result -vertex 108 -edge 187 -wire 94 -face 87 -shell 11 -solid 5 -compsolid 0 -compound 1 -shape 493
checkview -display result -2d -path ${imagedir}/${test_image}.png