Skip to content
Shapemetry

Types - IFC

API reference for ./io/ifc on @huukhanhnguyen/types — the option and result records of @huukhanhnguyen/io's IFC reader/writer.

See the Guide for the package's role.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

IfcElement

type

type IfcElement
// = {
    mesh: IfcMesh;
    name: string;
}

IfcOptions

type

type IfcOptions
// = {
    /** Project + file name (FILE_NAME / IfcProject). */
    name?: string;
    /** ISO timestamp for the file header — pass a fixed one for reproducible output. */
    timestamp?: string;
    /** Expand BlockEntity placements — one IfcProduct per placement. */
    definitions?: Map<string, BlockDefinition> | ReadonlyMap<string, BlockDefinition>;
}
Last updated: 📖 1 min readEdit on GitHub