2008-03-07 12:45:34 +05:00
|
|
|
/*!
|
|
|
|
|
2014-12-09 18:50:16 +05:00
|
|
|
\page section_opeartion_page Intersection
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2014-12-09 18:50:16 +05:00
|
|
|
\b Intersection operation creates a vertex, an edge, a wire or a compound
|
2014-11-20 20:11:55 +05:00
|
|
|
of them representing the intersection of two shapes.
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2014-12-09 18:50:16 +05:00
|
|
|
To produce it, select in the main menu <b>Operations - > Boolean - > Intersection</b>
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2014-12-09 18:50:16 +05:00
|
|
|
\image html neo-section.png "Intersection dialog"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
In this dialog:
|
|
|
|
- Input or accept the default \b Name of the resulting shape.
|
|
|
|
- Click the arrow button and select in the Object Browser or in the Viewer the intersecting <b>Objects</b>.
|
2014-11-20 20:11:55 +05:00
|
|
|
- Activate the corresponding check-box if you wish to <b> Detect Self-intersections</b>. If a self-intersection detected the operation fails.
|
2013-12-18 20:23:59 +06:00
|
|
|
- Activate \ref restore_presentation_parameters_page "Advanced options" if required.
|
2014-11-20 20:11:55 +05:00
|
|
|
- Press "Apply" or "Apply & Close" button to get the result (VERTEX, EDGE, WIRE or COMPOUND).
|
|
|
|
|
2014-11-19 17:40:00 +05:00
|
|
|
\note This dialog supports navigation through the selectable objects (in OCC 3D viewer only):
|
|
|
|
- Scroll mouse wheel with pressed \em Ctrl key or press \em "S", \em "P" keys when input focus is
|
|
|
|
in the viewer to navigate between selectable objects.
|
|
|
|
- Press left mouse button to select an appropriate object to the dialog box.
|
|
|
|
.
|
|
|
|
For more details, please refer to the \em "Functionality common for OCC and VTK viewers" chapter
|
|
|
|
of the GUI module's documentation.
|
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
This operation can be performed using a <b>TUI Command:</b>
|
|
|
|
|
|
|
|
<em>geompy.MakeSection(s1, s2, checkSelfInte)</em>
|
|
|
|
|
|
|
|
<b>Arguments:</b> Name + 2 shapes + an optional flag for self-intersection check.
|
2013-11-27 14:27:46 +06:00
|
|
|
|
2012-08-09 13:58:02 +06:00
|
|
|
<b>Example:</b>
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
\image html fusesn1.png "The initial shapes"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2009-02-13 17:16:39 +05:00
|
|
|
\image html sectionsn.png "The resulting object"
|
2008-03-07 12:45:34 +05:00
|
|
|
|
2013-10-16 17:22:29 +06:00
|
|
|
Our <b>TUI Scripts</b> provide you with useful examples of the use of
|
2008-03-07 12:45:34 +05:00
|
|
|
\ref tui_section "Boolean Operations".
|
|
|
|
|
2013-05-23 12:42:48 +06:00
|
|
|
<b> More details </b>
|
|
|
|
|
2013-12-18 20:23:59 +06:00
|
|
|
Please refer to <a href="SALOME_BOA_PA.pdf">this document</a> for a detailed description of Boolean operations.
|
2013-05-23 12:42:48 +06:00
|
|
|
It provides a general review of the Partition and Boolean
|
|
|
|
operations algorithms, describes the usage methodology and highlights
|
|
|
|
major limitations of these operations.
|
|
|
|
|
2008-03-07 12:45:34 +05:00
|
|
|
*/
|