Salome HOME
e24645f31eb9280ad6149c911ff55725b30a28c4
[modules/geom.git] / doc / salome / gui / GEOM / input / common_operation.doc
1 /*!
2
3 \page common_operation_page Common
4
5 To produce a \b Common operation in the <b>Main Menu</b> select <b>Operations - > Boolean - > Common</b>
6
7 This operation cuts the common part of a list of shapes and transforms it into an independent geometrical object.
8
9 The \b Result will be a \b GEOM_Object.
10
11 <b>TUI Command:</b> <em>geompy.MakeCommonList(theShapesList)</em>\n
12 <b>Arguments:</b> Name + a list of 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 bool2.png "Common dialog"
17 \r
18 For a particular case with two shapes for the Common operation there is the following TUI command:
19
20 <b>TUI Command:</b> <em>geompy.MakeCommon(s1, s2)</em>\n\r
21 <b>Arguments:</b> Name + 2 shapes.\r
22
23 <b>Example:</b>
24
25 \image html fusesn1.png "The initial shapes"
26
27 \image html commonsn.png "The resulting object" 
28
29 Our <b>TUI Scripts</b> provide you with useful examples of the use of
30 \ref tui_common "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 */