Loads chunked models from a manifest into a
SceneModel and optional
DataModel.
Large BIM and CAD models are often delivered as chunked geometry
plus matching semantic data. ModelChunksLoader reads a manifest
for those chunks and loads each one with the configured per-chunk
loader.
sceneModelMIMEType chooses how chunks are fetched
("arraybuffer" for binary, "json" for text).
Features
One call loads the whole model — pass the manifest, baseDir, and the target SceneModel + DataModel.
Pluggable per-chunk loaders; pass an
formats!XGFLoader | XGFLoader for geometry,
DataModelImporter
for semantics, or any other loader that implements
ModelLoader.
Geometry and semantics stay aligned — chunks share an
ordering so the loader emits SceneObjects
and DataObjects with matching ids.
Resolves when loading finishes — the returned Promise settles once every chunk reaches its target model.
xeokit Streaming Loader
Loads chunked models from a manifest into a SceneModel and optional DataModel.
Large BIM and CAD models are often delivered as chunked geometry plus matching semantic data.
ModelChunksLoaderreads a manifest for those chunks and loads each one with the configured per-chunk loader.Shape
Manifest shape
The manifest is a small JSON file pairing geometry chunks with the matching semantic chunks:
sceneModelFileslists the geometry chunks (XGF, glTF, …).dataModelFiles(optional) lists matching DataModel JSON chunks.sceneModelMIMETypechooses how chunks are fetched ("arraybuffer"for binary,"json"for text).Features
baseDir, and the target SceneModel + DataModel.Installation
Quick Start
1) Import the entry point
2) Construct with per-chunk loaders
3) Load a manifest