armory icon indicating copy to clipboard operation
armory copied to clipboard

node tool to save preset nodes and load them thru out projects

Open eliecer696 opened this issue 2 years ago • 3 comments

there is this add on in https://blendermarket.com/products/nodecustombuilder and it simply lets you save nodes preset nodes for materials and load them back any time thru out all your projects I think it will reduce DEV-time in armory node system to have something like this that works with the logic node system, i find my self copy objects from previse projects in to new projects so i can copy and paste a node group this addon can improve the work flow with the logic node thanks. example

eliecer696 avatar Mar 02 '22 16:03 eliecer696

Hi, that's a good idea. Out of interest: what's the reason why the above addon doesn't work with logic nodes?

Implementing something similar should be relatively easy to do, however it would probably make more sense to combine this with the possibility to (automatically) serialize logic nodes to json (or a similar format) to be able to use logic trees in version control systems such as Git.

If it is for copying node trees between projects only, then I guess this is already possible with linking or appending them. It probably even works with the new asset browser once Armory supports Blender 3.3 LTS, although it displayed logic nodes as material nodes last time I tried that. I hope that future Blender versions add more possibilities to the asset browser so that traits can also be used as assets, but I doubt that will happen.

MoritzBrueckner avatar Mar 02 '22 22:03 MoritzBrueckner

When attempting to load the saved node group it will prompt en error erro if you'll like I can post the addon files if you will like to take a pick at it

eliecer696 avatar Mar 02 '22 23:03 eliecer696

That most certainly looks like an issue with the actual addon, the code here tries to calculate an average position of nodes in the tree but it seems there are no (selected) nodes in the tree in your case. So I don't think this particular error has anything to do with Armory and you should open an issue in the addons repository here.

I still support the idea of having a similar solution in Armory though, even if it's probably low priority.

MoritzBrueckner avatar Mar 02 '22 23:03 MoritzBrueckner