IFClite TypeScript API
    Preparing search index...

    Interface MergeExportResult

    Result of merged STEP export

    interface MergeExportResult {
        content: Uint8Array;
        stats: {
            droppedContainerCount: number;
            federatedModelCount: number;
            fileSize: number;
            modelCount: number;
            normalizedModelCount: number;
            totalEntityCount: number;
            warnings: string[];
        };
    }
    Index
    content: Uint8Array

    STEP file content as bytes (avoids V8 string length limit for large files)

    stats: {
        droppedContainerCount: number;
        federatedModelCount: number;
        fileSize: number;
        modelCount: number;
        normalizedModelCount: number;
        totalEntityCount: number;
        warnings: string[];
    }

    Statistics

    Type Declaration

    • droppedContainerCount: number

      Spatial containers dropped for holding nothing, counted in the merged model (a container unified across three inputs counts once). Always 0 unless MergeExportOptions.dropEmptyContainers is set.

    • federatedModelCount: number

      Number of models federated as their own IfcProject because their length unit differed from the first model's. 0 means a single unified project.

    • fileSize: number

      File size in bytes

    • modelCount: number

      Number of models merged

    • normalizedModelCount: number

      Number of models whose length-valued data was rescaled into the first model's unit under unitReconciliation: 'normalize'. 0 for the other modes (or when every model already shared the first model's unit).

    • totalEntityCount: number

      Total entities in the output

    • warnings: string[]

      Human-readable advisories about the merge (empty on a clean single-unit merge). Notably flags when federation produced more than one IfcProject, which intentionally relaxes the IfcSingleProjectInstance schema rule.