blob: e1ce5e9ea7636bd2787e657d5b7595280f2f9cfd [file] [edit]
puts "========"
puts "OCC26745"
puts "========"
puts ""
#################################################
# Boolean Cut produces invalid result
#################################################
restore [locate_data_file bug26745_BodyA.brep] a
restore [locate_data_file bug26745_BodyB.brep] b
bclearobjects
bcleartools
baddobjects a
baddtools b
bfillds
# CUT
bbop result 2
checkshape result
checknbshapes result -solid 1 -shell 1
checkprops result -v 20808.1 -s 28247.4
checkview -display result -2d -path ${imagedir}/${test_image}.png