1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
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 s1 s2
bopcommon result
set square 560.908
set 3dviewer 1
|