IFClite TypeScript API
    Preparing search index...

    Class SimplifiedMeshes

    Flat result of simplifyMeshes: per surviving element i, vertexCounts[i] vertices and indexCounts[i] indices taken in order from the concatenated arrays (mirrors the exportGlbFromMeshes wire convention). localPositions is 1:1 with renderPositions (f64, file units, element object frame); localIndices is 1:1 with renderIndices but in the IFC frame's winding. Skipped elements are reported in skippedIds / skippedReasons and must keep their original geometry.

    Index
    cavitiesDropped: Uint32Array
    elementIds: Uint32Array
    indexCounts: Uint32Array
    levels: Uint8Array
    localIndices: Uint32Array
    localPositions: Float64Array
    renderIndices: Uint32Array
    renderNormals: Float32Array
    renderOrigins: Float64Array

    xyz per element (frame matches the render positions' convention).

    renderPositions: Float32Array
    skippedIds: Uint32Array
    skippedReasons: any[]

    Skip reason per skippedIds entry (stable slugs: no-geometry / missing-placement / singular-placement / empty-result / invalid-unit-scale).

    trisAfter: Uint32Array
    trisBefore: Uint32Array
    vertexCounts: Uint32Array
    • Returns void

    • Returns void