Optionalshape: TOptionalprecision: numberOptionaladjustYtoZ: booleanOptionalcomputeMetadata: booleanOptionalkeepMeshData: booleanOptionalallowQualityDecrease: booleanOptionalforceFaceDeflection: booleanOptionalisoCurvesU: numberOptionalisoCurvesV: numberOptionalsurfaceAnalysis: surfaceAnalysisEnumOptionaldraftDirection: Vector3OptionalangularDeflection: numberOptionalrelativeDeflection: booleanThe shape to triangulate.
OptionalprecisionThe meshing tolerance in model units; a smaller value follows curved surfaces more closely with more triangles.
OptionalangularThe largest angle, in radians, a curved face may turn between neighbouring triangles; smaller follows curvature more closely with more triangles.
OptionalrelativeWhen true, precision is a fraction of each edge's and face's size instead of model units, so
small and large parts get triangles in proportion to their size.
OptionaladjustWhen 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 on the shape for the next mesh with the same settings to reuse; when false it is cleared. A mesh retention budget keeps every mesh.
OptionalallowWhen true, a face whose triangulation is not within 10% of the precision it needs is meshed again; when false, a finer one is kept.
OptionalforceWhen true, every face is meshed at exactly the requested precision; when false, a face's precision is raised to the average of its edges' and to twice its tolerance.
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.
A shape and meshing settings for
shapeToMesh, which triangulates the shape for drawing, and can add each face's iso curves and a surface analysis value at every vertex.