5 #################################################
6 # Boolean Operations - Prevent modification of the input shapes in case their sub-shapes have not been modified
7 #################################################
9 # create two touching boxes
11 box b2 10 0 0 10 10 10
13 # make them share the common face
16 # split one of these solids
38 checkprops result -s 1400 -v 2000
39 checknbshapes result -vertex 16 -edge 28 -wire 16 -face 16 -shell 3 -solid 3
42 # check that non of the shapes from s1_sp is modified
43 compound result s1_sp c
44 checknbshapes c -vertex 16 -edge 28 -wire 16 -face 16 -shell 3 -solid 3
47 # fuse with different order
56 checkprops result -s 1400 -v 2000
57 checknbshapes result -vertex 16 -edge 28 -wire 16 -face 16 -shell 3 -solid 3
60 # check that non of the shapes from s1_sp is modified
61 compound result s1_sp c
62 checknbshapes c -vertex 16 -edge 28 -wire 16 -face 16 -shell 3 -solid 3