BrendanParmer / NodeToPython

Convert Blender node groups to a Python add-on
MIT License
236 stars 21 forks source link

Can you provide a screenshot "Then, go to Object > Node to Python, and type in the name of your node group" #25

Closed fluidnotions closed 1 year ago

fluidnotions commented 1 year ago

Hey Brendan, Cool project. I'm a coder just learning blender, I would love to explore some geo node's I found online as code. If you mean Object in the outliner panel I don't see the option there after installing your script as an addon.

BrendanParmer commented 1 year ago

Sure thing!

You'll want to click on an object, and in the upper right there's the object panel. It'll register at the very bottom. image Once you click on it you'll be given a box in the lower left to type in the name of your node group.

If you prefer accessing it from the Python console, you can do so with

>>> bpy.ops.object.node_to_python(node_group_name = "YOUR_NODE_GROUP_NAME_HERE")

I don't like where I'm currently registering that button or the method of selecting a node group, so this will probably change in future releases.