BrendanParmer / NodeToPython

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

Programmatically determine node settings #22

Closed BrendanParmer closed 1 year ago

BrendanParmer commented 1 year ago

Currently the script just looks up what settings (ex. Vertex/Edge/Face/Face Corner domain options) a node needs to be set with a hard-coded dictionary. This will be increasingly more difficult to maintain many versions of Blender as it grows, and is a bit of a headache everytime they release a new version. By programmatically determining the node settings, then NodeToPython should be compatible with several different versions without much maintenance