create MethodStatic

Construct and return an OffsetMeshOptions with given parameters.

  • Angles are forced to minimum values.
  • Clones of the angles are given to the constructor.

create(smoothSingleAngleBetweenNormals: Angle..., smoothAccumulatedAngleBetweenNormals: Angle..., chamferTurnAngleBetweenNormals: Angle...): OffsetMeshOptions

Parameter Type Description
smoothSingleAngleBetweenNormals Angle  
smoothAccumulatedAngleBetweenNormals Angle angles that sum to this much may be consolidated for average normal.
Default value is 60 degrees.
chamferTurnAngleBetweenNormals Angle when facets meet and the turn angle (i.e., angle between facet normals)
is larger than chamferTurnAngleBetweenNormals, a chamfer edge may be added to prevent offset mesh from having
facets that extend out too far away from the source mesh. Default value is 120 degrees.

Returns - OffsetMeshOptions

Defined in

Last Updated: 17 December, 2024