Add shape type #201 = PIPETSHAPE in geompy.ShapeIdToType and in doc

This commit is contained in:
gdd 2012-04-18 09:31:00 +00:00
parent e1b9dcd73e
commit 04fbb85011
2 changed files with 4 additions and 1 deletions

View 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()

View File

@ -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