vrdTessellationSettings¶
-
class
vrdTessellationSettings
¶
(Inherits vrdData
)
Summary¶
- Functions:
- getChordDeviation() → float
- getMaxChordLength() → float
- getNormalTolerance() → float
- getStitchingTolerance() → float
- getUseStitching() → bool
- setChordDeviation(value)
- setMaxChordLength(value)
- setNormalTolerance(value)
- setStitchingTolerance(value)
- setUseStitching(value)
- vrdTessellationSettings()
- ~vrdTessellationSettings()
Functions¶
-
vrdTessellationSettings.
getChordDeviation
()¶ Returns the chord deviation.
Returns: The chord deviation. Return type: float
-
vrdTessellationSettings.
getMaxChordLength
()¶ Returns the maximum chord length.
Returns: The maximum chord length. Return type: float
-
vrdTessellationSettings.
getNormalTolerance
()¶ Returns the normal tolerance.
Returns: The normal tolerance. Return type: float
-
vrdTessellationSettings.
getStitchingTolerance
()¶ Returns the stitching tolerance.
Returns: The stitching tolerance. Return type: float
-
vrdTessellationSettings.
getUseStitching
()¶ Returns whether stitching is enabled or disabled.
Returns: True, if stitching is enabled, False otherwise. Return type: bool
-
vrdTessellationSettings.
setChordDeviation
(value)¶ Sets the maximum deviation between the NURBS surface and the tessellated surface. A low value results in a more accurate polygon model but also increases the number of triangles.
Parameters: value (float) – The new value for the chord deviation.
-
vrdTessellationSettings.
setMaxChordLength
(value)¶ Sets the maximum edge length of the generated polygons. A low value results in a more accurate polygon model but also increases the number of triangles.
Parameters: value (float) – The new value for the maximum chord length.
-
vrdTessellationSettings.
setNormalTolerance
(value)¶ Sets the the allowed normal deviation between the normals on the ends of a tessellated edge. A low value results in a more accurate polygon model but also increases the number of triangles.
Parameters: value (float) – The new value for the normal tolerance.
-
vrdTessellationSettings.
setStitchingTolerance
(value)¶ Sets the tolerance where two adjacent edges are considered to be touching and where they should be stitched together.
Parameters: value (float) – The new value for the stitching tolerance.
-
vrdTessellationSettings.
setUseStitching
(value)¶ Enables or disables stitching of adjacent edges.
Parameters: value (bool) – If True, stitching of adjacent edges is enabled.
-
vrdTessellationSettings.
vrdTessellationSettings
()¶
-
vrdTessellationSettings.~vrdTessellationSettings()