blob: b1b88e2444ed78d4abcdf718dec4d973a9269b3a [file] [edit]
puts "========"
puts "OCC28675"
puts "========"
puts ""
####################################################################
# Invalid result of Boolean Cut operation when running with fuzzy value
####################################################################
restore [locate_data_file bug28675_shapes.brep] b
explode b
bclearobjects
bcleartools
baddobjects b_1
baddtools b_2
bfillds
bbop result 2
checkshape result
if {[regexp "Faulties" [bopargcheck result]]} {
puts "Error: the result of Cut operation is invalid"
}
checkprops result -s 63598.7 -v 246258
checknbshapes result -edge 12 -face 6 -shell 1 -solid 1
checkview -display result -2d -path ${imagedir}/${test_image}.png