blob: f6e6a8bd8dd079cfec523c376bdfd77bc407f2d5 [file] [edit]
puts "============"
puts "OCC28210"
puts "============"
puts ""
####################################################################################
# Modeling Algorithms - Boolean cut operation produces incorrect result
####################################################################################
restore [locate_data_file bug28210_mhx_pmx_ws_pos3.brep] c
explode c So
bcut result c_1 c_2
checkshape result
set nbshapes_expected "
Number of shapes in result
WIRE : 29
FACE : 29
SHELL : 1
SOLID : 1
COMPSOLID : 0
COMPOUND : 1
"
checknbshapes result -ref ${nbshapes_expected} -t -m "Boolean cut operation"
checkprops result -v 213860
checkprops result -s 25613.6
checkview -display result -3d -path ${imagedir}/${test_image}.png