mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Add shape type #201 = PIPETSHAPE in geompy.ShapeIdToType and in doc
This commit is contained in:
parent
e1b9dcd73e
commit
04fbb85011
@ -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()
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user