Node Arrange #66410

Closed
opened 2019-07-04 10:14:01 +02:00 by Brendon Murphy · 16 comments
Member

hi, this addon does nice arrangements of node trees. Currently does not support node trees inside groups. Works far better than the current arrange in node wrangler.
node_arrange.py

hi, this addon does nice arrangements of node trees. Currently does not support node trees inside groups. Works far better than the current arrange in node wrangler. [node_arrange.py](https://archive.blender.org/developer/F7566043/node_arrange.py)
Author
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

Nice. IMO this should even just be a built-in feature. Other apps with nodes have this included by default.

Nice. IMO this should even just be a built-in feature. Other apps with nodes have this included by default.
Author
Member

Thanks @WilliamReynish, That sounds sensible. It's still pretty bare bones, does not work in all node editors. I was working with the author when he designed it and mostly needed for materials nodes for my mat libraries.
This update is from Vilem Duha, Original by JuhaW, We have full permissions to take it on.

Thanks @WilliamReynish, That sounds sensible. It's still pretty bare bones, does not work in all node editors. I was working with the author when he designed it and mostly needed for materials nodes for my mat libraries. This update is from Vilem Duha, Original by JuhaW, We have full permissions to take it on.

Well, if you get it to work well for all editors, it could go through review as a built-in feature I think.

Well, if you get it to work well for all editors, it could go through review as a built-in feature I think.
Brendon Murphy self-assigned this 2019-07-05 11:19:08 +02:00
Author
Member

We can try this in the near future.

We can try this in the near future.
Author
Member

Zipped file, cleaned up code, works across all node editors afaict.
node_arrange.zip

Zipped file, cleaned up code, works across all node editors afaict. [node_arrange.zip](https://archive.blender.org/developer/F7617831/node_arrange.zip)
Author
Member

node_arrange.py
added gpl

[node_arrange.py](https://archive.blender.org/developer/F7715103/node_arrange.py) added gpl

Added subscriber: @povmaniac

Added subscriber: @povmaniac

Work nicely with TheBounty renderer nodes..

Work nicely with TheBounty renderer nodes..
Author
Member

Added subscribers: @JacquesLucke, @VilemDuha

Added subscribers: @JacquesLucke, @VilemDuha
Author
Member

node_arrange.py
New file, some tidy up, added arrange code from node wrangler to help with unconnected nodes and align to selected.
There was a limitation with unconnected nodes, the "Align to Selected" helps greatly with this.
Current limitation does not work inside node groups. Same with the node wrangler align.

node_arrange_example.jpg

node_arrange_panel.jpg
Those of us in the know have been using this addon for some time now, (years). I've tested with animation nodes and across all built in node editors and custom node editor types. Only recently after an update by @VilemDuha iirc, did I decide it was time release properly. We shouldn't hold this back.
@WilliamReynish currently the code here is good enough for an addon and the purpose of getting the job done. It's not good enough to be a built in function. A built in function would need to be done properly by an expert in nodes.
I would like to add this to release addons. The whole purpose of this task was to give the general users access to this very nice tool. I think this is a good case that we should release this code until such time as it's done properly as a built in function, then remove the addon.
@JacquesLucke I would like to know your opinion here also. Thanks.

[node_arrange.py](https://archive.blender.org/developer/F7716280/node_arrange.py) New file, some tidy up, added arrange code from node wrangler to help with unconnected nodes and align to selected. There was a limitation with unconnected nodes, the "Align to Selected" helps greatly with this. Current limitation does not work inside node groups. Same with the node wrangler align. ![node_arrange_example.jpg](https://archive.blender.org/developer/F7716284/node_arrange_example.jpg) ![node_arrange_panel.jpg](https://archive.blender.org/developer/F7716287/node_arrange_panel.jpg) Those of us in the know have been using this addon for some time now, (years). I've tested with animation nodes and across all built in node editors and custom node editor types. Only recently after an update by @VilemDuha iirc, did I decide it was time release properly. We shouldn't hold this back. @WilliamReynish currently the code here is good enough for an addon and the purpose of getting the job done. It's not good enough to be a built in function. A built in function would need to be done properly by an expert in nodes. I would like to add this to release addons. The whole purpose of this task was to give the general users access to this very nice tool. I think this is a good case that we should release this code until such time as it's done properly as a built in function, then remove the addon. @JacquesLucke I would like to know your opinion here also. Thanks.
Author
Member

node_arrange.py
Added basic poll to disable the ui if no nodes in an editor. example is Texture node editor was reporting errors if there were no active nodes.

[node_arrange.py](https://archive.blender.org/developer/F7716605/node_arrange.py) Added basic poll to disable the ui if no nodes in an editor. example is Texture node editor was reporting errors if there were no active nodes.
Author
Member

node_arrange.py
Fixes for Select Unlinked working in all editors thanks JuhaW (TynkaTopi) for his help and for this awesome addon.

[node_arrange.py](https://archive.blender.org/developer/F7716897/node_arrange.py) Fixes for Select Unlinked working in all editors thanks JuhaW (TynkaTopi) for his help and for this awesome addon.
Author
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author
Member

Closing as resolved.

Closing as resolved.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#66410
No description provided.