mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-16 02:28:35 +05:00
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
|
/*!
|
||
|
|
||
|
\page using_boolean_operations_page Using Boolean Operations
|
||
|
|
||
|
\n You can use the following boolean operations for construction of more
|
||
|
complex geometrical objects (2D & 3D elements):
|
||
|
|
||
|
<ul>
|
||
|
<li>\ref fuse_operation_page "Fuse"</li>
|
||
|
<li>\ref common_operation_page "Common"</li>
|
||
|
<li>\ref cut_operation_page "Cut"</li>
|
||
|
<li>\ref section_opeartion_page "Section"</li>
|
||
|
</ul>
|
||
|
|
||
|
There is a general TUI command covering all these operations, which
|
||
|
can be used alongside with separate commands for each operation.
|
||
|
\par
|
||
|
<em>geompy.MakeBoolean(Shape1, Shape2, Operation),</em> where \em
|
||
|
Shape1 is the first argument and \em Shape2 is the second argument of
|
||
|
Boolean operation, \em Operation is a type of the Boolean operation (1
|
||
|
— Common, 2 — Cut, 3 — Fuse, 4 — Section).
|
||
|
|
||
|
|
||
|
Besides, you can use advanced TUI commands performing these operations
|
||
|
independently from each other:
|
||
|
\par
|
||
|
<em>geompy.MakeFuse(Shape1, Shape2)</em>, where \em Shape1 and \em
|
||
|
Shape2 is the second argument of Fuse operation;
|
||
|
\par
|
||
|
<em>geompy.MakeCommon(Shape1, Shape2)</em>, where \em Shape1 and \em
|
||
|
Shape2 is the second argument of Common operation;
|
||
|
\par
|
||
|
<em>geompy.MakeCut(Shape1, Shape2)</em>, where \em Shape1 and \em
|
||
|
Shape2 is the second argument of Cut operation;
|
||
|
\par
|
||
|
<em>geompy.MakeSection(Shape1, Shape2)</em>, where \em Shape1 and \em
|
||
|
Shape2 is the second argument of Section operation;
|
||
|
|
||
|
\n Our <b>TUI Scripts</b> provide you with useful examples of the use of
|
||
|
\ref tui_boolean_operations_page "Boolean Operations".
|
||
|
|
||
|
*/
|