brepjs API Reference
    Preparing search index...

    Interface NSidedFaceOptions

    Interior constraints and solver controls for makeNSidedFace; omitted controls take OCCT's defaults.

    interface NSidedFaceOptions {
        angularTolerance?: number;
        degree?: number;
        guides?: readonly Edge[];
        initSurface?: Face;
        iterations?: number;
        maxDegree?: number;
        maxSegments?: number;
        points?: readonly Vec3[];
        pointsOnCurve?: number;
        tolerance?: number;
    }
    Index
    angularTolerance?: number

    Angular tolerance in radians for tangent constraints (default 1e-2).

    degree?: number

    Degree of the energy-minimizing surface (default 3).

    guides?: readonly Edge[]

    Edges the face must pass through that are not part of its boundary.

    initSurface?: Face

    A face whose surface seeds the solver, for patches far from planar.

    iterations?: number

    Solver iterations (default 2).

    maxDegree?: number

    Highest degree of the approximating B-spline (default 8).

    maxSegments?: number

    Most segments of the approximating B-spline (default 9).

    points?: readonly Vec3[]

    Points the face must pass through.

    pointsOnCurve?: number

    Points sampled on each constraint curve (default 15).

    tolerance?: number

    3D tolerance (default 1e-4).