Salome HOME
[bos #29336] problem in inertia calculus
[modules/geom.git] / doc / salome / gui / GEOM / input / common_operation.doc
1 /*!
2
3 \page common_operation_page Common
4
5 \b Common operation cuts the common part of a list of shapes and transforms it into an independent geometrical object.
6
7 To produce it, select in the main menu  <b>Operations - > Boolean - > Common</b>.
8
9 \image html bool2.png "Common dialog"
10
11 In this dialog:
12 - Input or accept the default \b Name of the resulting shape. 
13 - Click the arrow button and select in the Object Browser or in the Viewer the <b>Objects</b> the common part which of should be found.
14 - Activate the corresponding check-box if you wish to <b> Detect Self-intersections </b>
15 - Activate \ref restore_presentation_parameters_page "Advanced options" if required.
16 - Press "Apply" or "Apply & Close" button to get the result (GEOM_Object).
17
18
19 \note This algorithm does not find all types of self-intersections. It is tuned
20       to detect vertex/vertex, vertex/edge, edge/edge, vertex/face and edge/face
21       intersections. Face/face intersections detection is switched off as it
22       is a time-consuming operation that gives an impact on performance. To find
23       all self-intersections use \ref check_self_intersections_page
24       "Detect Self-intersection tool".
25           
26           
27 This operation can be performed using a <b>TUI Command:</b> 
28
29 <em>geompy.MakeCommonList(theShapesList, checkSelfInte)</em>
30
31 <b>Arguments:</b> Name + a list of shapes + an optional flag for self-intersection check.
32
33 There is also a special <b>TUI Command</b> for the Common operation on two shapes :
34
35 <em>geompy.MakeCommon(s1, s2, checkSelfInte)</em>
36
37 <b>Arguments:</b> Name + 2 shapes + an optional flag for self-intersection check.
38
39 <b>Example:</b>
40
41 \image html fusesn1.png "The initial shapes"
42
43 \image html commonsn.png "The resulting object"
44
45 Our <b>TUI Scripts</b> provide you with useful examples of the use of
46 \ref tui_common "Boolean Operations".
47
48 <b> More details </b>
49
50 Please, refer to <a href="SALOME_BOA_PA.pdf">this document</a> for a detailed description of Boolean operations.
51 It provides a general review of the Partition and Boolean
52 operations algorithms, describes the usage methodology and highlights
53 major limitations of these operations.
54
55 */