blob: ec3c28f3d52744bf481d8c95e442b6830b860d05 [file] [edit]
puts "========="
puts " OCC497 "
puts "(case 1)"
puts "========="
puts ""
########################################################
## Result of cut and fuse operation are faulty shapes although arguments are valid.
########################################################
restore [locate_data_file OCC497a.brep] a_1
checkshape a_1
restore [locate_data_file OCC497b.brep] a_2
checkshape a_2
explode a_2 so
bop a_2_1 a_2_2
bopfuse r1
if [catch {bcut result a_1 r1 } catch_result] {
puts "Faulty OCC497:function CUT works wrongly "
} else {
puts "OCC497 : function CUT works without hangs up "
}
checkprops result -s 646.969
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png