3.8.4 Export/Import Model to and from Speckle (WIP)
Last updated
Last updated
Speckle is a platform for data exchange in the Architecture, Engineering, and Construction (AEC) industry. Karamba3D offers work-in-progress (WIP) components for communication with Speckle. Speckle can be freely downloaded, installed, and used in commercial projects.
To enable these components in the Karamba3D toolbar, follow two steps:
Select "Karamba3D/Show Components/Settings/View WIP Components" from the menu.
Install the Grasshopper connector for Speckle via the "Speckle Manager."
Figure 3.8.4.1 shows an example where a cantilever beam is exported to Speckle. The "Export Model to Speckle" component requires a Karamba3D model as input at the "Model" plug. Additional data of type SpeckleAnalysis.ModelInfo
can be provided via the "Info" input, created using Speckle components, and may contain optional model data. The output plug "Speckle" delivers a Speckle structural model, while the "info" output provides feedback on the translation process, including whether all model components were successfully translated. The Speckle model can then be sent to an online repository using Speckle components. For testing purposes, the Speckle model can be immediately converted back into a Karamba3D model (see Fig. 3.8.4.1).
The "Import Model from Speckle" component takes a Speckle model as input and assembles the data into a Karamba3D model. The output plugs provide the same data as the "Assemble" component in Karamba3D.