Optionalshape: TOptionalprecision: numberOptionaladjustYtoZ: booleanOptionalcomputeMetadata: booleanOptionalkeepMeshData: booleanOptionalallowQualityDecrease: booleanOptionalforceFaceDeflection: booleanThe shape to triangulate.
The meshing tolerance in model units; a smaller value follows curved surfaces more closely with more triangles.
When true, the mesh is turned so this library's Y-up becomes Z-up, for tools that treat Z as up.
OptionalcomputeWhen true, each face and edge entry also carries its area or length, center of mass, surface or curve type, tolerance and neighbors, at extra cost.
OptionalkeepWhen true, the triangulation stays cached on the shape; when false it is cleared afterwards so memory does not grow across calls.
OptionalallowWhen true, a shape already meshed more finely may be remeshed at the coarser precision asked for.
OptionalforceWhen true, every face is remeshed at the requested precision even when a triangulation is cached.
A shape and meshing settings for
shapeToMesh, which triangulates the shape for drawing.