Commonplace kernel API
    Preparing search index...

    Interface FaceRecordExperimental

    A face, as plain values.

    2026-Q4

    experimental — stable-by target: 2027-Q2

    interface FaceRecord {
        area: number | null;
        color?: string;
        edgeIds: string[];
        flat: boolean;
        holes: string[][];
        id: string;
        normal: Point3 | null;
        outline: string[];
        surface: string;
        tags?: string[];
    }
    Index
    area: number | null

    The area of a flat face (outline less holes), measured on its edges' own curves; null for a curved one. Until loadKernel() has loaded the exact measure, curved edges are chorded.

    color?: string
    edgeIds: string[]

    The ids of every edge on the face's boundary, holes included.

    flat: boolean

    Whether the face is flat, whatever its surface kind (a ruled or trimmed face whose rails lie in one plane is).

    holes: string[][]

    Each hole's vertex ids, in loop order.

    id: string
    normal: Point3 | null

    The outline's Newell normal (unit), traced along its edges (curved ones too), or null when degenerate.

    outline: string[]

    The outline's vertex ids, in loop order.

    surface: string

    The surface kind ('planar', 'ruled', 'nurbs-surface-bicubic', …).

    tags?: string[]

    Its tag ids (ADR-128 D2), when it has any.