blob: b2ce6ba06e7276642bbf544ae16da27530c06f0e [file] [edit]
puts "============"
puts "OCC22801"
puts "============"
puts ""
#######################################################################
# Boolean operations algorithm fails on two customer's shapes
#######################################################################
set BugNumber OCC22801
puts "Load first shape ..."
restore [locate_data_file OCC22801-first_shape.brep] b1
puts "Load second shape ..."
restore [locate_data_file OCC22801-second_shape.brep] b2
puts "Prepare boolean operation ..."
bop b1 b2
puts "Start boolean operation ..."
bopcut result
puts "Finish boolean operation ..."
checkprops result -s 287634
checkshape result
checknbshapes result -vertex 55 -edge 97 -wire 44 -face 44 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 243
checkview -display result -3d -path ${imagedir}/${test_image}.png