Import, export, and conversion support for multiple 3D and BIM file formats
Overview
This module allows applications to load, parse, encode, and export
models in a variety of 3D, BIM, and point cloud formats. Every
format ships behind a uniform ModelLoader /
ModelExporter interface so tooling and applications can
work with multiple formats through one API.
Uniform loader / exporter interface — every format
subclasses ModelLoader or ModelExporter so
callers can swap formats without changing call shape.
Multi-version per format — many formats (XGF, XKT, glTF)
ship multiple readers / writers under one class; version
selects which one to use, defaulting to the latest.
Cooperative yields — every loader / exporter honours the
yieldToHost interval so very
large files don't block the host's UI thread.
Progress reporting — options.onProgress fires from inside
loader / exporter hot loops at ~60 Hz; pair with
SDKProgress for typed updates.
AbortSignal cancellation — loaders and exporters check
options.signal.aborted at every yield and reject with
DOMException("Aborted", "AbortError") when the caller cancels.
Browser-side I/O — file fetches go through
BrowserFileIO, which wraps the
fetch API.
xeokit Model Formats
Import, export, and conversion support for multiple 3D and BIM file formats
Overview
This module allows applications to load, parse, encode, and export models in a variety of 3D, BIM, and point cloud formats. Every format ships behind a uniform ModelLoader / ModelExporter interface so tooling and applications can work with multiple formats through one API.
Shape
Features
versionselects which one to use, defaulting to the latest.options.onProgressfires from inside loader / exporter hot loops at ~60 Hz; pair with SDKProgress for typed updates.options.signal.abortedat every yield and reject withDOMException("Aborted", "AbortError")when the caller cancels.fetchAPI.Supported Formats
The following formats are supported:
.step/.stp)Each format's namespace typically provides one or more of the following:
SceneModel and DataModel Formats
In addition to external file formats, this module includes support for xeokit's native JSON-based serialization formats:
These formats are typically used for persistence, interchange between applications, or pre-processing workflows.
Generic Import and Export APIs
The module defines generic base types that are shared across format implementations:
These abstractions allow tooling and applications to work with multiple formats through a consistent API, independent of the underlying file type.