Viewing .BIM in a xeokit Viewer
Released in: https://github.com/xeokit/xeokit-sdk/releases/tag/v2.6.13
Summary
The DotBIMLoaderPlugin class enables us to to load .bim models into a xeokit Viewer.
When loading a .bim model, the DotBIMLoader does the following:
- Creates an
Entityrepresenting each.bimmodel it loads, which will haveEntity#isModelsettrueand will be registered byEntity#idinScene#models. - Creates an
Entityfor each object within the.bimmodel. ThoseEntitieswill haveEntity#isObjectsettrueand will be registered byEntity#idinScene#objects. - When loading, can set the World-space position, scale and rotation of each model within World space,
along with initial viewer state for all the model's
Entitys. - Allows to mask which IFC types we want to load.
- Allows to configure initial viewer state for specified IFC types (color, visibility, selection, highlighted, X-rayed, pickable, etc).
- Supports viewing of geographically large or distant models using xeokit's double-precision coordinate system
