NARU API
    Preparing search index...

    Interface IfcFederationCompileOptions

    interface IfcFederationCompileOptions {
        adapterScriptPath?: string;
        assembleFederation?: boolean;
        cacheDirectory?: string;
        compactJson?: boolean;
        documents: readonly IfcFederationDocumentInput[];
        elideDerivedIdentifiers?: boolean;
        environment?: ProcessEnv;
        job?: ImportJobOptions;
        omitDefaultNodeTransforms?: boolean;
        omitResourceNames?: boolean;
        outputDirectory: string;
        pythonExecutable?: string;
        reducedLodMeters?: number;
        relocateHierarchyNodes?: boolean;
        retainSceneIr?: boolean;
        spatialIndex?: boolean;
        spatialLeafCapacity?: number;
        spatialPayloadOrder?: boolean;
        stagedPreviewDirectory?: string;
        stageTiming?: boolean;
        targetChunkByteBudget?: number;
        threads?: number;
    }
    Index
    adapterScriptPath?: string
    assembleFederation?: boolean

    On a rebuild, ask the adapter for a federation manifest and assemble the federation in the compiler from the cached document artifacts instead of reading a scene file the adapter merged and wrote (ADR-0019 slice 3b). On whenever cacheDirectory is set unless explicitly false; inert without cacheDirectory. The assembled transport is byte-identical to the adapter's, so the package, its digest, and the package-cache key do not depend on this option; any artifact that fails verification makes the compile fall back to the monolithic adapter run.

    cacheDirectory?: string

    Optional persistent package cache keyed by the complete federation/toolchain identity.

    compactJson?: boolean

    Omit insignificant scene.gltf whitespace for real-large packages.

    documents: readonly IfcFederationDocumentInput[]
    elideDerivedIdentifiers?: boolean
    environment?: ProcessEnv

    Lifecycle events and cancellation for this compile.

    omitDefaultNodeTransforms?: boolean
    omitResourceNames?: boolean

    Omit non-semantic glTF mesh, bufferView, and accessor labels.

    outputDirectory: string
    pythonExecutable?: string
    reducedLodMeters?: number

    Emit a declared-error reduced level (ADR-0025).

    relocateHierarchyNodes?: boolean
    retainSceneIr?: boolean
    spatialIndex?: boolean
    spatialLeafCapacity?: number
    spatialPayloadOrder?: boolean
    stagedPreviewDirectory?: string

    Publish each document's assembly tree into this directory as soon as the adapter has parsed that document, before any tessellation finishes (ADR-0021). The directory must not exist or must be empty; it receives a relocated hierarchy sidecar pair per document plus staged.json, is kept with complete: true once the compile succeeds, and is removed when the job is cancelled or fails. It is never a compiled package and never a cache tier, and it takes no part in the job id, the cache key, or the package bytes: a compile with staging and one without produce the same package digest.

    stageTiming?: boolean

    Record wall-clock stage durations into the result's stages. Timing is diagnostic only: it never enters the adapter report, the build report, the cache key, or the package bytes, so an instrumented compile produces the same package as a plain one.

    targetChunkByteBudget?: number

    Maximum target bytes fetched and decoded in one progressive IFC request.

    threads?: number