Python node to export to GLTF

Greetings,

I am looking for ghpython node to export to GLTF and got string output from GH , any ideas ?

I’m not sure if this is currently possible and if it makes sense at all.

Most likely you will have to bake the geometry before it can be exported.

With the current Grasshopper Rhino components you can streamline the creation of geometry with attributes. After baking, you can use one of a few scripts available in this forum to export the parts. With the @Helvetosaur script I’m using, the object name is used as file name. The script can be executed through a button in Rhino which I find quite straightforward.

I would use code driven file io. There is a grasshopper section here:

Using the gltf file options:

https://developer.rhino3d.com/api/rhinocommon/rhino.fileio.filegltfwriteoptions

2 Likes