<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()
# @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.
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