-
Notifications
You must be signed in to change notification settings - Fork 4
3D Repo BHoM integration
The BHoM-3DRepo integration leverages the Adapters and the BHoM conversions to import data from certain softwares and then export that to 3DRepo.
The BHoM allows connection through a multitude of different softwares, like Revit or Autodesk Robot. In the examples below, we illustrate the following two cases:
- A model is imported from Revit, converted to BHoM object model, and then exported to 3DRepo
- A model is imported from Robot, converted to BHoM object model, and then exported to 3DRepo
The process always passes through a central step of conversion of the model to BHoM schema. This allows to maintain the same features available through all the software supported by BHoM, and leveraging the library of BHoM functions.
Structural model with metadata loaded from BHoM into 3D Repo:
3D Repo developed a .bim
(.BIM) file format, and a related C# library that allows to import and export from this format.
The .BIM file format is loosely based on the original SRC implementation, which eventually transformed into glTF. Underneath, it is effectively composed by:
- a JSON header, which lists the offsets (integer pointers) for the individual geometry components listed below plus all the other text-based data entries such as colours/materials, metadata, transformations (as array of doubles), etc.
- a binary dump of the payload, which is made of meshes.
More information can be found here: https://github.com/BHoM/3DRepo_Toolkit
- Generates 3D Repo specific file format (based on SRC which is pre-cursor to glTF)
- Allocates JSON header with offsets binary payload
- Includes meshes, colours, materials and metadata
- Add support for textures
- Optimise performance further
- Add to plug-ins for Revit, etc