Description: This command select the surfaces of the first object that are not contained in the second one (A outside B operation).
Inline mode usage:
- booleanOutside -h: Displays the help file that summarizes the parameters for this command.
- booleanOutside –s –objectA <list of names A> -objectB <list of names B>: Draws the parts of the surfaces listed in A that are not contained in B.
Interactive mode usage:
- Invocation: booleanOutside
- 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.
Suppose we have the following open cone and box in the geometry:
Initial state of the geometry for the booleanOutside command
These objects can be created by running the following commands:
Select center [x y z]: 0 0 0
Bottom radius [double]: 2
Height [double]: 3
Top radius [double]: 1
First corner of base [x y z]: -2 -1 0
Base size [width depth]: 6 2
Height [double]: 4
Let's assume we want to obtain the part of the surfaces of the cone that are outside the region enclosed by the box. To achieve this, we need to run the booleanOutside command in the following way:
Select the surfaces of the 'objectA' on screen (Press enter when done): (Select the cone)
Select the surfaces of the 'objectB' on screen (Press enter when done): (Select the box)
As usual, if the cone and the box had the names "myCone" and "myBox" respectively, the command could also be run in the following way:
command> booleanOutside -s -objectA myCone -objectB myBox
The final result is shown in the following figure:
State of the geometry after the booleanOutside operation