blob: 2c40c6e255903b83bea07d0cdcd7f614bbd97078 [file] [edit]
puts "========================"
puts "BUC60775"
puts "OCC160"
puts "(CUT: A and B)"
puts "========================"
restore [locate_data_file buc60775a.brep] a
checkshape a
restore [locate_data_file buc60775b.brep] b
checkshape b
bcut result a b
checkshape result
set nf [llength [explode result f]]
if {$nf < 6} {
puts "Error : the resulting shape is unclosed!!!"
}
checkprops result -s 48129.6
checkview -display result -2d -path ${imagedir}/${test_image}.png