mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 01:10:36 +05:00
22756: [EDF] Intersection operation
This commit is contained in:
parent
00995421b1
commit
23a1ce7d1c
@ -2,7 +2,8 @@
|
||||
|
||||
\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>
|
||||
|
||||
@ -11,17 +12,10 @@ To produce it, select in the main menu <b>Operations - > Boolean - > Section</b>
|
||||
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>.
|
||||
- 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.
|
||||
- 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>
|
||||
|
||||
<em>geompy.MakeSection(s1, s2, checkSelfInte)</em>
|
||||
|
@ -7407,18 +7407,10 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
# @param theShape2 Second argument for boolean operation.
|
||||
# @param checkSelfInte The flag that tells if the arguments should
|
||||
# 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
|
||||
# for result publication in the study. Otherwise, if automatic
|
||||
# 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.
|
||||
#
|
||||
# @ref tui_section "Example 1"
|
||||
@ -7431,21 +7423,11 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
theShape1 First argument for boolean operation.
|
||||
theShape2 Second argument for boolean operation.
|
||||
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.
|
||||
theName Object name; when specified, this parameter is used
|
||||
for result publication in the study. Otherwise, if automatic
|
||||
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:
|
||||
New GEOM.GEOM_Object, containing the result shape.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user