mirror the selected nodes in the DAG
mirrorNodes
Updated: 23 March 2021
Author: frank
Compatible Nuke versions: 10.0 or later
Compatibility: Linux, Mac, Windows
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: