@sweco-ps/embedded
v4.4.0
Published
Makes it possible to host (and interact) with Twinfinity in an HTML page
Downloads
38
Readme
WARNING: This package is being renamed to @twinfinity/core and will therefore eventually not be published to @sweco-ps/embedded anymore. Please use @twinfinity/core instead..
Twinfinity client
With this package you can host the a bare bones Twinfinity BIM viewer/data source in a webpage. This makes it possible for an HTML app to programmatically:
- Load BIM models from the Twinfinity BIM backend and visualize them in a 3D viewer.
- Interact with the 3D viewer
- Change BIM data visualization (colorizing, hiding)
- Inspect entities in the BIM model (such as IFC object property sets, geometry etc)
- Get BIM data from the Twinfinity backend.
- The package is based on BabylonJS. This in turn makes it possible for your app to use a lot of the available functionality from BabylonJS as well. Such as adding custom 3D objects to the scene. Load formats such as .OBJ and .GLTF etc.
Continue reading about how to use the API here: {@link BimApi}