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>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()
|
||||||
|
@ -6938,7 +6938,7 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
|||||||
# @return TRUE, if the shape contains no self-intersections.
|
# @return TRUE, if the shape contains no self-intersections.
|
||||||
#
|
#
|
||||||
# @ref tui_measurement_tools_page "Example"
|
# @ref tui_measurement_tools_page "Example"
|
||||||
def CheckSelfIntersections (self, theShape):
|
def CheckSelfIntersections(self, theShape):
|
||||||
"""
|
"""
|
||||||
Detect self-intersections in the given shape.
|
Detect self-intersections in the given shape.
|
||||||
|
|
||||||
@ -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…
Reference in New Issue
Block a user