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