Optionalshapes: T[]Optionalprecision: numberOptionaladjustYtoZ: booleanOptionalcomputeMetadata: booleanOptionalkeepMeshData: booleanOptionalallowQualityDecrease: booleanOptionalforceFaceDeflection: booleanOptionalisoCurvesU: numberOptionalisoCurvesV: numberOptionalsurfaceAnalysis: surfaceAnalysisEnumOptionaldraftDirection: Vector3The shapes to triangulate, one mesh per shape.
OptionalprecisionThe meshing tolerance in model units; a smaller value follows curved surfaces more closely with more triangles.
OptionaladjustWhen true, the meshes are 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 each 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.
OptionalisoHow many iso curves of constant u each face gets in isoCurveList, spread evenly inside its
u range and trimmed to the face; 0 gives none.
OptionalisoHow many iso curves of constant v each face gets in isoCurveList, spread evenly inside its
v range and trimmed to the face; 0 gives none.
OptionalsurfaceWhat each face's analysisValues hold, one value per vertex: a curvature, the smallest bending
radius, or the draft angle in degrees. none leaves them out.
OptionaldraftThe pull direction the draft angles are measured against; read only by draftAngle.
Shapes and meshing settings for
shapesToMeshes, which triangulates each shape with the same settings, iso curves and surface analysis included.