BrendanParmer / NodeToPython

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

Better instructions - Where is new nodegroup and how to apply? #69

Closed powersprouter closed 11 months ago

powersprouter commented 11 months ago

Nevermind - I figured it out. Great add-on! Thank you for this.

BrendanParmer commented 10 months ago

Hi @powersprouter, glad to hear you're enjoying the add-on!

This is a good question, it's not very well-documented right now. For anyone else wondering the same thing,

I'm not a huge fan of its current location. In a future release I'll set the default to a more appropriate spot, and I'd like to make this and the other options in the generated add-on header configurable

powersprouter commented 10 months ago

Thank you. I love this add-on. My python skills are not at your level yet - I'm getting better! - but I hope you enjoy my effort at addressing this issue. I intuitively could generate the script but since I didn't realize you put the Add-On in the Object menu (um, duh, like, why didn't I simply just read your code! apologies), I went ahead and first created a test case (my voronoiThis repository) and then generalize a UI wrapper that puts it in a big button in the n-panel. https://github.com/powersprouter/NodeToButtonTemplate

Instructions are in comments in the code of each .py file itself, but an obvious improvement would be to automate it all the way, sorry didn't get that far.

The method to program Blender's UI Panel and menus could be so much better, would be nice if someone took this challenge on. I have seen some instructions how to include colorful gifs as buttons but overall I would love to have more creative/artistic options. Maybe I'm not good enough at it yet. Anyway!

Love the add-on. Am a geometry node fool right now!!

Cheerz Andrew

powersprouter commented 10 months ago

PS I wish there were a way to include keyframes & timeline in your conversion. Using geometry nodes in a tree of logic to do an animation is slower for me than to keyframe the nodes. Wonder if there is a way I'm missing.

BrendanParmer commented 10 months ago

Good stuff! Thanks for contributing to the community.

I like the idea of supporting animation stuff a little better. I'm hoping to look more into keyframing and using drivers after the 3.0 update