Salome HOME
c7fd67b75c75c6365be91f5d3a5e93094952a8b8
[modules/geom.git] / doc / salome / gui / GEOM / input / using_boolean_operations.doc
1 /*!
2
3 \page using_boolean_operations_page Using Boolean Operations
4
5 \n You can use the following boolean operations for construction of more
6 complex geometrical objects (2D & 3D elements):
7
8 <ul>
9 <li>\subpage fuse_operation_page "Fuse" - creates a shape from two shapes.</li>
10 <li>\subpage common_operation_page "Common" - transforms the common part
11 of two objects into an independent object.</li>
12 <li>\subpage cut_operation_page "Cut" - cuts one shape with
13 another. </li>
14 <li>\subpage section_opeartion_page "Section" - creates a section between two shapes.</li>
15 </ul>
16
17 There is a general TUI command covering all these operations, which
18 can be used alongside with separate commands for each operation.
19 \par
20 <em>geompy.MakeBoolean(Shape1, Shape2, Operation),</em> where \em
21 Shape1 is the first argument and \em Shape2 is the second argument of
22 Boolean operation, \em Operation is a type of the Boolean operation (1
23 &mdash; Common, 2 &mdash; Cut, 3 &mdash; Fuse, 4 &mdash; Section).
24
25
26 Besides, you can use advanced TUI commands performing these operations
27 independently from each other:
28 \par
29 <em>geompy.MakeFuse(Shape1, Shape2)</em>, where \em Shape1 and \em
30 Shape2 is the second argument of Fuse operation; 
31 \par
32 <em>geompy.MakeCommon(Shape1, Shape2)</em>, where \em Shape1 and \em
33 Shape2 is the second argument of Common operation;
34 \par
35 <em>geompy.MakeCut(Shape1, Shape2)</em>, where \em Shape1 and \em
36 Shape2 is the second argument of Cut operation;
37 \par
38 <em>geompy.MakeSection(Shape1, Shape2)</em>, where \em Shape1 and \em
39 Shape2 is the second argument of Section operation;
40
41 \n Our <b>TUI Scripts</b> provide you with useful examples of the use of 
42 \ref tui_boolean_operations_page "Boolean Operations".
43
44 */