mirrorNodes v2.1
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Frank Rueter
mirror the selected nodes in the DAG
Requirements:
13.1, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10 or later
Linux, Mac, Windows
13.1, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10 or later
Linux, Mac, Windows
23 Mar 2021
763
2.1 - Nuke 13 compatible
2.0 - added optional argumebt to use last or first selected node as the axis for mirroring
- mirror is animated to keep track of nodes
- the required menu entries are included in teh module now so the local menu.py only needs this line: import mirrorNodes
1.1 - corrected resulting positions and made undo work
Mirrors the nodes in the node graph to quickly rearrange portions of the DAG.
example menu.py entry (included in v2.0):
1 |
menuBar = nuke.menu('Nuke') |
for v2.0+ simply put this in your menu.py:
import mirrorNodes
before:
I map things like this to hotkeys and hide them in that ridiculously deep sub menu:
after:
Please login in order to download these files.
Comments
only issue is the undo doesn't work on it.
what if we want the last node select to be the axis of this flip.
Thanks
I'm pretty busy at the moment but will try and look into it.
In case you want to update things yourself there are lots of helpful docs out there and most of the time it's trivial. This is a good little helper:
http://python-future.org/compatible_idioms.html#catching-exceptions
It's been a long time, hope you're doing well.
Thank you so much for updating this for Nuke 13, and sharing the python 3.0 cheat sheet.
The updated version is taking multiple steps ( as if its animating across ) the node graph, where the older version that I had would mirror the nodegraph in one step.
Just curious if this is due to python 3?
Would be nice if there's an alt version that would mirror in one step like the older version.
RSS feed for comments to this post