Nodz
Nodz copied to clipboard
Added a node creation helper, initialized by 'initNodeCreationHelper'…
Added a node creation helper, that you reach by hitting the tab key (Maya node editor style)
Updated the readme and nodz_demo to demonstrate usage.
I didn't want to add too much things in the main python file, so I ended up added an nodz_extra.py file for the main part of the UI, and only minor adds in the nodz_main.py. Just let me know if you wish it done another way.
Sounds fine to me. But even if not activated by default, I feel it should be added somehow somewhere so that people don't have to re-code it. What about adding the helper in the nodz_utils.py file instead, reverting changes in nodz_main, and few changes in the sample to show people how to use it ?
To me, it is an "extra tool" that can be used for a lot of things other than it's implementation for Nodz, so it shouldn't live inside Nodz. I want to keep it clean, simple and organized.
I see that more as an optional dependency (Basically everything not directly Nodz related is an optional dependency) but I don't want users to be freaked out by the amount of dependencies contained in my Nodz repository (If we come up with more of them)
So I still think that signals only is the way to go then under README we can add an "optional dependencies" section with links to them (They would live in your own repositories) so users don't get overwhelmed by all these extra/optional features and can decide ta add them or not.
Regarding the signals, I think there is already a signal that is triggered when a key is pressed and return the key, maybe we can do something with that.
Ok, It's agreed that this tool should not be part of the nodz_main. But if put in an alternate repository, it just would be the same as keeping it in my own repo because users won't try to look for add-ons repositories...
So for it to benefit other users, I renamed the python .py file (nodz-extra) into nodz_addon. You can use nodz_main without it, or you can just use it if you need the things that are inside. The demo file just show how to add the creation help UI (but once again, nodz_main do not depends anymore from it).
How does it sounds like this ?