blob: faa01cc91d776657f82156ac2b2c0e3cc41e59fb [file] [edit]
puts "================"
puts "OCC27677"
puts "================"
puts ""
#######################################################################
# Incorrect CUT of a solid by semi-infinite solid
#######################################################################
restore [locate_data_file bug27677_solid_halfspace.brep] s
restore [locate_data_file bug27677_real_frame_shape.brep] f
bop s f
boptuc result
# Check result validity.
checkshape result
# Check number of topological entities in the result.
checknbshapes result -solid 1 -shell 1 -face 11 -wire 12 -edge 32 -vertex 22
# Check result area.
checkprops result -s 2.82114
smallview
don result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png