﻿

You are reading an old version of this user guide. The information contained here has been archived and is presented for reference reasons, but it may not be up to date.

## 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

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)
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