# booleanSplit

This command introduces the cuts that an object produces in another one.

Remark If the object that this command is called on is a surface, the surface itself will be split into several surfaces. However, if it is an object, this command will only create a cutting loop on the object. In the latter situation, the user may want to explode the object so it is possible to manipulate the surfaces delimited by the cutting loop individually.

Inline mode usage:

booleanSplit -h
Displays the help file that summarizes the parameters for this command.
booleanSplit –s –objectA <list of names A> -objectB <list of names B>
Split mutually the selected objects.

Interactive mode usage

Invocation
booleanSplit
Parameters
• Surfaces of the 'objectA' selection of surfaces and objects of the first object.
• Surfaces of the 'objectB' selection of surfaces and objects of the second object.

Example:

Let's assume we have the following geometry, consisting on a sphere and a surface:

This geometry was created using the following commands:


command> sphere
Select center [x y z]: 0 0 0
command> surface
Points in u direction [integer](default=3): 3
Points in v direction [integer](default=3): 2
Point [0][0] [x y z w]: -3 -3 0 1
Point [0][1] [x y z w]: -3 3 0 1
Point [1][0] [x y z w]: 0 -3 0.5 1
Point [1][1] [x y z w]: 0 3 0.6 1
Point [2][0] [x y z w]: 3 -3 2 1
Point [2][1] [x y z w]: 3 3 2.1 1
command>


Now we will use the booleanSplit command on these two objects to create a cutting loop on the sphere at the intersection between it and the surface. To do this, we run the command in the following way:


command> booleanSplit
Select the surfaces of the 'objectA' on screen (Press enter when done): (Select one of the objects)
Select the surfaces of the 'objectB' on screen (Press enter when done): (Select the other object)