blob: 82bbeca3df887fa0ffd7ecf87b902a9b88a41c4d [file] [edit]
puts "============"
puts "OCC951"
puts "============"
puts ""
######################################################
##BRepAlgoAPI_Section and BRepAlgoAPI_Common fail on given shapes
######################################################
## (new topology)
## (bopcommon)
## (bopsection)
######################################################
restore [locate_data_file OCC951_1.brep] s1
restore [locate_data_file OCC951_2.brep] s2
checkshape s1
checkshape s2
bop s2 s1
bopsection result
checkprops result -l 39.8616
checkshape result
checksection result
checkview -display result -3d -path ${imagedir}/${test_image}.png