Salome HOME
d00c587eb5825927ac0de953dda1543415c03eb2
[modules/geom.git] / doc / salome / gui / GEOM / input / cut_operation.doc
1 /*!
2
3 \page cut_operation_page Cut
4
5 To produce a \b Cut operation in the <b>Main Menu</b> select <b>Operations - > Boolean - > Cut</b>
6
7 This operation cuts a shape with a list of other shapes.
8
9 The \b Result will be a \b GEOM_Object.
10
11 <b>TUI Command:</b> <em>geompy.MakeCutList(theMainShape, theShapesList)</em>\n
12 <b>Arguments:</b> Name + a main shape + a list of other shapes.\n
13 <b>Advanced option:</b>
14 \ref restore_presentation_parameters_page "Set presentation parameters and sub-shapes from arguments".
15
16 \image html bool3.png "Cut dialog"
17
18 For a particular case with two shapes (object and tool) for the Cut operation there is the following TUI command:
19
20 <b>TUI Command:</b> <em>geompy.MakeCut(s1, s2)</em>\n\r
21 <b>Arguments:</b> Name + the object + the tool.\r
22
23 <b>Example:</b>
24
25 \image html fusesn1.png "The initial shapes"
26
27 \image html cutsn.png "The resulting object"
28
29 Our <b>TUI Scripts</b> provide you with useful examples of the use of 
30 \ref tui_cut "Boolean Operations".
31
32 <b> More details </b>
33
34 For a detailed description of the Boolean operations please refer to
35 <a href="SALOME_BOA_PA.pdf">this document</a>. 
36 It provides a general review of the Partition and Boolean
37 operations algorithms, describes the usage methodology and highlights
38 major limitations of these operations.
39
40 */