In GEOM for construction of more complex geometrical objects
(2D & 3D elements) you can use the following boolean operations:
TUI command:
geompy.MakeBoolean(Shape1, Shape2, Operation), where Shape1 is the first argument and Shape2 is the second argument of Boolean operation, Operation is a type of the Boolean operation (1 – Common, 2 – Cut, 3 – Fuse, 4 – Section).
To use boolean operations:
In the main menu select Operations > Boolean.
Description: Fuses 2 shapes.
Result: GEOM_Object (COMPOUND).
Arguments: 2 shapes.
Dialog Box:
Example:
Description: The common part of 2 shapes is cut and transformed into an independent geometrical object.
Result: GEOM_Object (COMPOUND).
Arguments: 2 shapes.
Dialog Box:
Example:
Description: Cuts 1 shape with another one.
Result: GEOM_Object (COMPOUND).
Arguments: 2 shapes.
Dialog Box:
Example:
Description: Gets the section between 2 shapes.
Result: GEOM_Object (COMPOUND).
Arguments: 2 shapes.
Dialog Box:
Example: