Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Cut

Cut operation cuts a shape with a list of other shapes.

To produce it, select in the main menu Operations - > Boolean - > Cut

bool3.png
Cut dialog

In this dialog:

  • Input or accept the default Name of the resulting shape.
  • Click the arrow button and select in the Object Browser or in the Viewer the Main Object, which will be cut by tool objects.
  • Select the Tool objects, which will cut the main object.
  • Activate the corresponding check-box if you wish to Detect Self-intersections .
  • Activate Advanced options if required.
  • Press "Apply" or "Apply & Close" button to get the result (GEOM_Object).
Note
This algorithm does not find all types of self-intersections. It is tuned to detect vertex/vertex, vertex/edge, edge/edge, vertex/face and edge/face intersections. Face/face intersections detection is switched off as it is a time-consuming operation that gives an impact on performance. To find all self-intersections use Detect Self-intersection tool.

This operation can be performed using a TUI Command:

geompy.MakeCutList(theMainShape, theShapesList, checkSelfInte)

Arguments: Name + a main shape + a list of other shapes + an optional flag for self-intersection check.

There is also a special TUI Command: for the Cut operation on two shapes (object and tool) :

geompy.MakeCut(s1, s2, checkSelfInte)

Arguments: Name + the object + the tool + an optional flag for self-intersection check.

Example:

fusesn1.png
The initial shapes
cutsn.png
The resulting object

Our TUI Scripts provide you with useful examples of the use of Boolean Operations.

More details

Please refer to this document for a detailed description of Boolean operations. It provides a general review of the Partition and Boolean operations algorithms, describes the usage methodology and highlights major limitations of these operations.