Create a ModelConverter instance, configured with loaders,
exporters, and a single "dotbim2xgf" pipeline definition that connects those together to perform our conversion.
Create a ModelConverter instance, configured with loaders,
exporters, and a single "dotbim2xgf" pipeline definition that connects those together to perform our conversion.
xeokit Multi-Format Model Converter
An extensible tool for converting 3D models between various formats.
This module provides the ModelConverter class for converting 3D model data between multiple file formats.
Installation
Install the xeokit SDK:
Usage
Using the ModelConverter Class
The ModelConverter manages file format conversions via a set of predefined:
Converting a DotBIM file to XGF and DataModelParams JSON formats
1. Import dependencies
2. Set up the converter
Create a ModelConverter instance, configured with loaders, exporters, and a single "dotbim2xgf" pipeline definition that connects those together to perform our conversion.
The loaders and exporters we'll use are:
.bim
files.xgf
3. Perform the conversion
Converting XGF and DataModelParams JSON back to DotBIM
1. Import dependencies
2. Set up the converter
Create a ModelConverter instance, configured with loaders, exporters, and a single "dotbim2xgf" pipeline definition that connects those together to perform our conversion.
The loaders and exporters we'll use are:
.bim
files.xgf
3. Perform the conversion