mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 22:32:03 +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>44</td><td>3DSKETCHER</td></tr>
|
||||||
<tr align=center><td>45</td><td>FILLET_2D</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>46</td><td>FILLET_1D</td></tr>
|
||||||
|
<tr align=center><td>201</td><td>PIPETSHAPE</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
Also geompy.py module provides a helper function ShapeIdToType()
|
Also geompy.py module provides a helper function ShapeIdToType()
|
||||||
|
@ -8169,6 +8169,8 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
|||||||
return "FILLET_2D"
|
return "FILLET_2D"
|
||||||
if theId == 46:
|
if theId == 46:
|
||||||
return "FILLET_1D"
|
return "FILLET_1D"
|
||||||
|
if theId == 201:
|
||||||
|
return "PIPETSHAPE"
|
||||||
return "Shape Id not exist."
|
return "Shape Id not exist."
|
||||||
|
|
||||||
## Returns a main shape associated with the group
|
## Returns a main shape associated with the group
|
||||||
|
Loading…
x
Reference in New Issue
Block a user