HealingSettings
Canonical path: NemAll_Python_Geometry.HealingSettings
Class holding Healing settings for elements.
GetPolygonHealingSettings
GetPolygonHealingSettings() -> ePolygonHealingSettings
Get Healing settings for polygon
Returns:
-
ePolygonHealingSettings
–const Reference to Polygon healing settings
GetPolyhedronHealingSettings
GetPolyhedronHealingSettings() -> ePolyhedronHealingSettings
Get Healing settings for polyhedron
Returns:
-
ePolyhedronHealingSettings
–const Reference to Polyhedron healing settings
IsPolygonNoModify
Check whether the type of the settings for polygon is PHSET_NOMODIFY
Returns:
-
bool
–true/false.
IsPolygonNormalize
Check whether the type of the settings for polygon is PHSET_NOMODIFY
Returns:
-
bool
–true/false.
IsPolyhedronNoModify
Check whether the type of the settings for polyhedron is HSET_NOMODIFY
Returns:
-
bool
–true/false.
IsPolyhedronTilt
Check whether the type of the settings for polyhedron is HSET_TILT
Returns:
-
bool
–true/false.
IsPolyhedronTriangulate
Check whether the type of the settings for polyhedron is HSET_TRIANGULATE
Returns:
-
bool
–true/false.
IsPolyhedronUnknown
Check whether the type of the settings for polyhedron is HSET_TRIANGULATE
Returns:
-
bool
–true/false.
IsWeldVerticesEnabled
Check if vertices welding is enabled
Returns:
-
bool
–true/false.
SetPolygonHealingSettings
SetPolygonHealingSettings(pgonSet: ePolygonHealingSettings)
SetPolyhedronHealingSettings
SetPolyhedronHealingSettings(phedSet: ePolyhedronHealingSettings)
SetWeldVertices
Set vertices welding
Parameters:
-
enableWeld
(bool
) –Enable vertices welding
__init__
overloaded
__init__(
oPhedType: ePolyhedronHealingSettings = ePolyhedronHealingSettings.HSET_TRIANGULATE,
oPgonType: ePolygonHealingSettings = ePolygonHealingSettings.PHSET_NOMODIFY,
weldVertices: bool = False,
)
Default constructor.
Types can be found in GeometryEnums.h
Parameters:
-
oPhedType
(ePolyhedronHealingSettings
, default:HSET_TRIANGULATE
) –Settings for the polyhedron
-
oPgonType
(ePolygonHealingSettings
, default:PHSET_NOMODIFY
) –Settings for the polygon
-
weldVertices
(bool
, default:False
) –Vertices welding option, if true weld vertices
__init__(hSet: HealingSettings)