Commonplace kernel API
    Preparing search index...

    Interface FaceTrianglesExperimental

    One face's fill: flat triangles, three vertices each.

    2026-Q4

    experimental — stable-by target: 2027-Q2

    interface FaceTriangles {
        cornerIds: readonly string[];
        cornerSlots: Uint32Array;
        face: FaceAttributes;
        normals: Float32Array;
        positions: Float32Array;
        rulingKFull?: readonly number[];
        rulingNumQuads?: number;
        rulingRows?: number;
        rulings: Float64Array<ArrayBufferLike> | null;
        triangleVertexCount: number;
    }
    Index
    cornerIds: readonly string[]

    … and that vertex's id, slot by slot.

    cornerSlots: Uint32Array

    The vertex slots that sit on a model vertex (the slots a drag moves), …

    normals: Float32Array

    x, y, z per vertex.

    positions: Float32Array

    x, y, z per vertex, in model coordinates and single precision: a float keeps about seven significant digits, so a million units from the origin it steps by 1/16 of a unit, and detail finer than that merges. The kernel's own geometry stays double precision; a host drawing a model far from the origin moves it near the origin (or draws about a local origin) before tessellating.

    rulingKFull?: readonly number[]

    A ruled strip in curvature mode: K per column boundary, padded with 0 at the ends.

    rulingNumQuads?: number

    A ruled strip in curvature mode: its columns.

    rulingRows?: number

    A ruled strip cut into rows (a face that twists): its rows.

    rulings: Float64Array<ArrayBufferLike> | null

    A ruled strip in curvature mode: each ruling as two points, x, y, z each.

    triangleVertexCount: number

    Vertices in positions (three per triangle).