1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
puts "============"
puts "OCC26874"
puts "============"
puts ""
#######################################################################
# Implementation of the Partition operator in OCCT
#######################################################################
# split face by a sphere
plane p 0 0 0 0 0 1
mkface f p -20 20 -20 20
psphere s 5
bclearobjects
bcleartools
baddobjects f
baddtools s
bfillds
bapisplit result
checkshape result
checknbshapes result -face 2
checkprops result -s 1600
|