]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Add shape type #201 = PIPETSHAPE in geompy.ShapeIdToType and in doc
authorgdd <gdd>
Wed, 18 Apr 2012 09:31:00 +0000 (09:31 +0000)
committergdd <gdd>
Wed, 18 Apr 2012 09:31:00 +0000 (09:31 +0000)
doc/salome/gui/GEOM/input/geometrical_object_properties.doc
src/GEOM_SWIG/geompyDC.py

index f284337fcde4fbad9a391f9187dd17b82dccde4c..a5b55449a48b9800ab95c1579ac168770d2b7334 100644 (file)
@@ -65,6 +65,7 @@ The possible values of the geometrical objects are listed in the table below:
             <tr align=center><td>44</td><td>3DSKETCHER</td></tr>
             <tr align=center><td>45</td><td>FILLET_2D</td></tr>
             <tr align=center><td>46</td><td>FILLET_1D</td></tr>
+            <tr align=center><td>201</td><td>PIPETSHAPE</td></tr>
 </table>
 
 Also geompy.py module provides a helper function ShapeIdToType() 
index 413a746b4cf835fa85c7ef5f94c68f7e2f15cd55..4c9072773a1f6fe4576b403286298546fe3cbf61 100644 (file)
@@ -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