mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-28 18:30:36 +05:00
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
/*!
|
|
|
|
\page cut_operation_page Cut
|
|
|
|
To produce a \b Cut operation in the <b>Main Menu</b> select <b>Operations - > Boolean - > Cut</b>
|
|
|
|
This operation cuts a shape with a list of other shapes.
|
|
|
|
The \b Result will be a \b GEOM_Object.
|
|
|
|
<b>TUI Command:</b> <em>geompy.MakeCutList(theMainShape, theShapesList, checkSelfInte)</em>\n
|
|
<b>Arguments:</b> Name + a main shape + a list of other shapes + an optional flag for self-intersection check.\n
|
|
<b>Advanced option:</b>
|
|
\ref restore_presentation_parameters_page "Set presentation parameters and sub-shapes from arguments".
|
|
|
|
\image html bool3.png "Cut dialog"
|
|
|
|
For a particular case with two shapes (object and tool) for the Cut operation there is the following TUI command:
|
|
|
|
<b>TUI Command:</b> <em>geompy.MakeCut(s1, s2, checkSelfInte)</em>\n
|
|
<b>Arguments:</b> Name + the object + the tool + an optional flag for self-intersection check.
|
|
|
|
<b>Example:</b>
|
|
|
|
\image html fusesn1.png "The initial shapes"
|
|
|
|
\image html cutsn.png "The resulting object"
|
|
|
|
Our <b>TUI Scripts</b> provide you with useful examples of the use of
|
|
\ref tui_cut "Boolean Operations".
|
|
|
|
<b> More details </b>
|
|
|
|
For a detailed description of the Boolean operations please refer to
|
|
<a href="SALOME_BOA_PA.pdf">this document</a>.
|
|
It provides a general review of the Partition and Boolean
|
|
operations algorithms, describes the usage methodology and highlights
|
|
major limitations of these operations.
|
|
|
|
*/
|