Optionalshape: TOptionalprecision: numberOptionaladjustYtoZ: booleanOptionalcomputeMetadata: booleanOptionalkeepMeshData: booleanOptionalallowQualityDecrease: booleanOptionalforceFaceDeflection: booleanOptionalisoCurvesU: numberOptionalisoCurvesV: numberOptionalsurfaceAnalysis: surfaceAnalysisEnumOptionaldraftDirection: Vector3The shape to triangulate.
OptionalprecisionThe meshing tolerance in model units; a smaller value follows curved surfaces more closely with more triangles.
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 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.
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.