mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
22756: [EDF] Intersection operation
This commit is contained in:
parent
00995421b1
commit
23a1ce7d1c
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
\page section_opeartion_page Section
|
\page section_opeartion_page Section
|
||||||
|
|
||||||
\b Section operation creates an edge or a wire representing the intersection of surfaces of two shapes.
|
\b Section operation creates a vertex, an edge, a wire or a compound
|
||||||
|
of them representing the intersection of two shapes.
|
||||||
|
|
||||||
To produce it, select in the main menu <b>Operations - > Boolean - > Section</b>
|
To produce it, select in the main menu <b>Operations - > Boolean - > Section</b>
|
||||||
|
|
||||||
@ -11,16 +12,9 @@ To produce it, select in the main menu <b>Operations - > Boolean - > Section</b>
|
|||||||
In this dialog:
|
In this dialog:
|
||||||
- Input or accept the default \b Name of the resulting shape.
|
- 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>.
|
- Click the arrow button and select in the Object Browser or in the Viewer the intersecting <b>Objects</b>.
|
||||||
- Activate the corresponding check-box if you wish to <b> Detect Self-intersections </b>.
|
- Activate the corresponding check-box if you wish to <b> Detect Self-intersections</b>. If a self-intersection detected the operation fails.
|
||||||
- Activate \ref restore_presentation_parameters_page "Advanced options" if required.
|
- Activate \ref restore_presentation_parameters_page "Advanced options" if required.
|
||||||
- Press "Apply" or "Apply & Close" button to get the result (EDGE or WIRE).
|
- Press "Apply" or "Apply & Close" button to get the result (VERTEX, EDGE, WIRE or COMPOUND).
|
||||||
|
|
||||||
\note This algorithm does not find all types of self-intersections. It is tuned
|
|
||||||
to detect vertex/vertex, vertex/edge, edge/edge, vertex/face and edge/face
|
|
||||||
intersections. Face/face intersections detection is switched off as it
|
|
||||||
is a time-consuming operation that gives an impact on performance. To find
|
|
||||||
all self-intersections use \ref check_self_intersections_page
|
|
||||||
"Detect Self-intersection tool".
|
|
||||||
|
|
||||||
This operation can be performed using a <b>TUI Command:</b>
|
This operation can be performed using a <b>TUI Command:</b>
|
||||||
|
|
||||||
|
@ -7407,18 +7407,10 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
|||||||
# @param theShape2 Second argument for boolean operation.
|
# @param theShape2 Second argument for boolean operation.
|
||||||
# @param checkSelfInte The flag that tells if the arguments should
|
# @param checkSelfInte The flag that tells if the arguments should
|
||||||
# be checked for self-intersection prior to the operation.
|
# be checked for self-intersection prior to the operation.
|
||||||
|
# If a self-intersection detected the operation fails.
|
||||||
# @param theName Object name; when specified, this parameter is used
|
# @param theName Object name; when specified, this parameter is used
|
||||||
# for result publication in the study. Otherwise, if automatic
|
# for result publication in the study. Otherwise, if automatic
|
||||||
# publication is switched on, default value is used for result name.
|
# publication is switched on, default value is used for result name.
|
||||||
#
|
|
||||||
# @note This algorithm doesn't find all types of self-intersections.
|
|
||||||
# It is tuned to detect vertex/vertex, vertex/edge, edge/edge,
|
|
||||||
# vertex/face and edge/face intersections. Face/face
|
|
||||||
# intersections detection is switched off as it is a
|
|
||||||
# time-consuming operation that gives an impact on performance.
|
|
||||||
# To find all self-intersections please use
|
|
||||||
# CheckSelfIntersections() method.
|
|
||||||
#
|
|
||||||
# @return New GEOM.GEOM_Object, containing the result shape.
|
# @return New GEOM.GEOM_Object, containing the result shape.
|
||||||
#
|
#
|
||||||
# @ref tui_section "Example 1"
|
# @ref tui_section "Example 1"
|
||||||
@ -7431,21 +7423,11 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
|||||||
theShape1 First argument for boolean operation.
|
theShape1 First argument for boolean operation.
|
||||||
theShape2 Second argument for boolean operation.
|
theShape2 Second argument for boolean operation.
|
||||||
checkSelfInte The flag that tells if the arguments should
|
checkSelfInte The flag that tells if the arguments should
|
||||||
be checked for self-intersection prior to
|
be checked for self-intersection prior to the operation.
|
||||||
the operation.
|
If a self-intersection detected the operation fails.
|
||||||
theName Object name; when specified, this parameter is used
|
theName Object name; when specified, this parameter is used
|
||||||
for result publication in the study. Otherwise, if automatic
|
for result publication in the study. Otherwise, if automatic
|
||||||
publication is switched on, default value is used for result name.
|
publication is switched on, default value is used for result name.
|
||||||
|
|
||||||
Note:
|
|
||||||
This algorithm doesn't find all types of self-intersections.
|
|
||||||
It is tuned to detect vertex/vertex, vertex/edge, edge/edge,
|
|
||||||
vertex/face and edge/face intersections. Face/face
|
|
||||||
intersections detection is switched off as it is a
|
|
||||||
time-consuming operation that gives an impact on performance.
|
|
||||||
To find all self-intersections please use
|
|
||||||
CheckSelfIntersections() method.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
New GEOM.GEOM_Object, containing the result shape.
|
New GEOM.GEOM_Object, containing the result shape.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user