diff --git a/doc/salome/gui/GEOM/input/geometrical_object_properties.doc b/doc/salome/gui/GEOM/input/geometrical_object_properties.doc index f284337fc..a5b55449a 100644 --- a/doc/salome/gui/GEOM/input/geometrical_object_properties.doc +++ b/doc/salome/gui/GEOM/input/geometrical_object_properties.doc @@ -65,6 +65,7 @@ The possible values of the geometrical objects are listed in the table below: 443DSKETCHER 45FILLET_2D 46FILLET_1D + 201PIPETSHAPE Also geompy.py module provides a helper function ShapeIdToType() diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index 413a746b4..4c9072773 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -6938,7 +6938,7 @@ class geompyDC(GEOM._objref_GEOM_Gen): # @return TRUE, if the shape contains no self-intersections. # # @ref tui_measurement_tools_page "Example" - def CheckSelfIntersections (self, theShape): + def CheckSelfIntersections(self, theShape): """ Detect self-intersections in the given shape. @@ -8169,6 +8169,8 @@ class geompyDC(GEOM._objref_GEOM_Gen): return "FILLET_2D" if theId == 46: return "FILLET_1D" + if theId == 201: + return "PIPETSHAPE" return "Shape Id not exist." ## Returns a main shape associated with the group