5 #######################################################################
6 # Make the CellsBuilder algorithm to work with multi-dimensional arguments
7 #######################################################################
9 puts "Arguments: solid and a face"
23 puts "All split shapes"
25 checknbshapes result -solid 1 -m "Number of SOLIDs in the result containing all splits"
26 checknbshapes result -face 8 -m "Number of FACEs in the result containing all splits"
27 checkprops result -v 1000 -s 725
29 puts "Cut solid from face"
32 checknbshapes result -face 1 -m "Number of FACEs in the result of CUT(f, b) operation"
34 puts "Cut face from solid"
37 checknbshapes result -solid 1 -m "Number of SOLIDs in the result of CUT(b, f) operation"
38 checknbshapes result -face 7 -m "Number of FACEs in the result of CUT(b, f) operation"
40 puts "Common between face and solid"
43 checknbshapes result -face 1 -m "Number of FACEs in the result of COMMON(b, f) operation"
45 puts "Fuse operation between face and solid"
47 bcadd result b 1 -m 1 -u
48 checknbshapes result -face 7 -m "Number of faces in unified split of solid"
50 checknbshapes result -solid 1 -m "Number of SOLIDs in the result of FUSE(b, f) operation"
51 checknbshapes result -face 8 -m "Number of FACEs in the result of FUSE(b, f) operation"