IFClite TypeScript API
    Preparing search index...

    Interface SectionConfig

    @ifc-lite/drawing-2d

    2D architectural drawing generation from IFC models. Generates section cuts, floor plans, and elevations with:

    • Cut lines (geometry intersected by section plane)
    • Projection lines (visible geometry beyond cut)
    • Hidden lines (occluded geometry, dashed)
    • Silhouettes and feature edges
    • Hatching (material-based fill patterns by IFC type)
    • Vector output (SVG)
    interface SectionConfig {
        clipProjectionBands?: boolean;
        creaseAngle: number;
        includeHiddenLines: boolean;
        plane: SectionPlaneConfig;
        projectionAboveDepth?: number;
        projectionBelowDepth?: number;
        projectionDepth: number;
        scale: number;
    }
    Index
    clipProjectionBands?: boolean
    creaseAngle: number

    Crease angle threshold in degrees (edges sharper than this are feature edges)

    includeHiddenLines: boolean

    Whether to compute hidden lines

    Section plane definition

    projectionAboveDepth?: number
    projectionBelowDepth?: number

    Construction-projection band depths (issue #979). When set, projection lines split into a VISIBLE band below the cut (thin solid) within projectionBelowDepth, and an OVERHEAD band above the cut (dashed) within projectionAboveDepth. Both default to projectionDepth when omitted, so legacy callers keep their single-window behaviour.

    projectionDepth: number

    Depth range beyond cut plane to include for projection lines (world units)

    scale: number

    Scale factor for output (e.g., 100 for 1:100)