Command Line 6.2.10

3.14. booleanOutside command

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
  • 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:

Suppose we have the following open cone and box in the geometry:

Initial state of the geometry for the booleanOutside command

Initial state of the geometry for the booleanOutside command

 

These objects can be created by running the following commands:

command> cone
Select center [x y z]: 0 0 0
Bottom radius [double]: 2
Height [double]: 3
Top radius [double]: 1
command> box
First corner of base [x y z]: -2 -1 0
Base size [width depth]: 6 2
Height [double]: 4
command>

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:

command> booleanOutside
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)
Please Wait...
command>

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
Please Wait...
command>

The final result is shown in the following figure:

State of the geometry after the booleanOutside operation

State of the geometry after the booleanOutside operation

 

We use cookies on this website to improve your navigation experience on this site. By using this site, you agree to our cookie policy.

I agree