1puts "============"
2puts "OCC26874"
3puts "============"
4puts ""
5#######################################################################
6# Implementation of the Partition operator in OCCT
7#######################################################################
8
9# split box by other solid and face
10
11box b1 10 10 10
12
13box b2 5 0 0 10 10 10
14plane p 0 0 5 0 0 1
15mkface f p -20 20 -20 20
16
17bclearobjects
18bcleartools
19baddobjects b1
20baddtools b2 f
21bfillds
22bapisplit result
23
24checkshape result
25checknbshapes result -solid 4
26checkprops result -v 1000
27