Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 668 Bytes

File metadata and controls

26 lines (16 loc) · 668 Bytes

Solid.removeTinyBoundaryTriangles()

Performs limited boundary edge flips to remove triangles below an area threshold near inter-face boundaries.

Usage

solid.removeTinyBoundaryTriangles(0.001, 3);

Signature

solid.removeTinyBoundaryTriangles(areaThreshold, maxIterations = 1)

Parameters

  • areaThreshold (number) - Triangles below this area near inter-face boundaries are candidates for edge-flip cleanup.
  • maxIterations (number, default 1) - Maximum number of cleanup passes.

Returns

number - Count of edge flips applied.

Use this after booleans or offsets when tiny boundary triangles are causing instability.