JSPM

  • Created
  • Published
  • Downloads 869
  • Score
    100M100P100Q111048F
  • License MPL-2.0

Geometry processing bridge for IFC-Lite - 1.9x faster than web-ifc

Package Exports

  • @ifc-lite/geometry

Readme

@ifc-lite/geometry

Geometry processing bridge for IFClite. Connects the WASM-based geometry engine to the TypeScript pipeline with streaming mesh processing.

Installation

npm install @ifc-lite/geometry

Quick Start

import { GeometryProcessor } from '@ifc-lite/geometry';

const processor = new GeometryProcessor();
await processor.init();

const result = await processor.process(ifcBuffer, {
  onBatch: (batch) => renderer.addMeshes(batch),
});

Features

  • Streaming geometry processing (100 meshes/batch)
  • First triangles in 300-500ms
  • Up to 5x faster than web-ifc
  • Web Worker support for large files (>50MB)
  • Coordinate system handling and origin shift

API

See the Geometry Guide and API Reference.

License

MPL-2.0