fast-mesh-wasm
    Preparing search index...

    Interface AutoRepairRequest

    The standard cleanup pipeline for Scene.repair: weld, remove degenerate, orient, remove small components, fill holes, as one transaction. The library owns the order; an option left out takes the library's default.

    interface AutoRepairRequest {
        fair?: boolean;
        kind: "auto";
        maxEdges?: number;
        minTriangles?: number;
        weldTolerance?: number;
    }
    Index
    fair?: boolean

    Refine and fair each fill so it follows the surrounding curvature. Default true.

    kind: "auto"
    maxEdges?: number

    Fill only holes with at most this many edges; Infinity fills any size. Default 64.

    minTriangles?: number

    Components with fewer triangles are removed; the largest always stays. Default 500.

    weldTolerance?: number

    Vertices at most this far apart are welded, in mesh units. Default 1e-5.