Command Line 6.2.9

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.12. booleanInside command

Description: This command select the surfaces of the first object that are contained in the second one (A inside B operation).

Inline mode usage:

  • booleanInside -h: Displays the help file that summarizes the parameters for this command.
  • booleanInside –s –objectA <list of names A> -objectB <list of names B>: Draws the parts of the surfaces listed in A that are contained in B.

Interactive mode usage:

  • Invocation: booleanInside
  • 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 geometry, which is the same as the created for example of the booleanDifference command:

Initial state of the geometry for the booleanInside command

Initial state of the geometry for the booleanInside command

 

With the booleanInside command it is posisble to obtain the surfaces of the small sphere that are contained inside the big sphere. To do this, we have to run the booleanInside command in the following way:

command> booleanInside
Select the surfaces of the 'objectA' on screen (Press enter when done): (Select the small sphere)
Select the surfaces of the 'objectB' on screen (Press enter when done): (Select the big sphere)
Please Wait...
command>

As usual, the command can be run in non-interactive mode by specifying the names of the objects:

command> booleanInside -s -objectA smallSphere -objectB bigSphere
Please Wait...
command>

The final result is shown in the next figure:

State of the geometry after the booleanInside operation

State of the geometry after the booleanInside 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