brepjs API Reference
    Preparing search index...

    Function latticeInfill

    • Fill a solid mesh with a TPMS lattice infill: intersect the FWN-signed solid with the chosen lattice shell field, then Surface-Nets contour the result.

      Returns a KernelMeshResult in world coordinates (a single face group, no UVs). The TPMS field is the approximate implicit (raw trig), so the surface is contoured at the zero level without distance normalization (ADR-0013).

      Parameters

      Returns Result<KernelMeshResult>