geometry-script icon indicating copy to clipboard operation
geometry-script copied to clipboard

Example of `geometry-script` in a standalone python script?

Open abegong opened this issue 2 years ago • 2 comments

Great project! I'm excited to see where you go with this.

I can imagine a lot of powerful use cases for geometry-script from the command line, but all of the examples that I've been able to find assume that it'll be used from within the Blender application.

How would I run geometry-script in a standalone python script?

abegong avatar Feb 12 '23 16:02 abegong

Geometry Script creates Blender node trees, so it doesn't make sense to run it outside of Blender imo. Unless you are thinking about generating the .blend file data for the Geometry Node tree via the command line?

carson-katri avatar Feb 12 '23 16:02 carson-katri

Yes, that'd be a good way to do it. That would let you mash up the .blend files with programmatically generated scenes and objects.

abegong avatar Feb 12 '23 17:02 abegong