diff --git a/doc/salome/gui/GEOM/input/section_operation.doc b/doc/salome/gui/GEOM/input/section_operation.doc index 0b741eed4..fc29eb8f1 100644 --- a/doc/salome/gui/GEOM/input/section_operation.doc +++ b/doc/salome/gui/GEOM/input/section_operation.doc @@ -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 Operations - > Boolean - > Section @@ -11,17 +12,10 @@ To produce it, select in the main menu Operations - > Boolean - > Section 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 Objects. -- Activate the corresponding check-box if you wish to Detect Self-intersections . +- Activate the corresponding check-box if you wish to Detect Self-intersections. 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 TUI Command: geompy.MakeSection(s1, s2, checkSelfInte) diff --git a/src/GEOM_SWIG/geomBuilder.py b/src/GEOM_SWIG/geomBuilder.py index ec10f2467..c3eead5dd 100644 --- a/src/GEOM_SWIG/geomBuilder.py +++ b/src/GEOM_SWIG/geomBuilder.py @@ -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.