glTF Loader
To transfer the geometric data between our servers and the viewer we use the glTF format. This is a widely known and used format for geometries and materials. If you are using the glTF 2.0 Display component in GrassHopper, you can even save from GrassHopper to a glb by right-clicking on the component and selecting Save glTF 2.0
.
To have an idea how this glTF will look in the ShapeDiver viewer, you can use this page, where you can drag in the gltf and see what it looks like.
External glTFs
The loading of the assets that come from Grasshopper can also be enriched with external assets. You can use the viewer API to load other assets.