Aligns selected nodes horizontally and vertically in the Nuke graph by adding 100-pixel units or a specified custom spacing.
emAlignNodes
Updated: 15 April 2024
Author: eva.mateo
Compatible Nuke versions: 13.1 or later
Compatibility: Mac, Windows
Hi! This Python script aligns nodes in vertical and horizontal ways set in 100 units and custom way using a shortcut in your keyboard.
For the correct installation, please follow these instructions:
INSTRUCTIONS
1. Uncompress the zip folder called 'emTools'.
2. Copy all the Python (.py) to your '.nuke' folder located in: 'C:\Users\yourUser\.nuke' files except if 'menu.py' is not missing.
3. In the second case, copy the code from 'menu.py' to your 'menu.py'.
4. Save the 'menu.py' form '.nuke' folder and run Nuke!
5. Build your nuke scene graph and execute your shortcut. You will have on top a menu called 'emTools' where there are them.
HOW THE CUSTOM KEYBOARD WORKS
First, you need to build your nuke graph vertically or horizontally. After that, you need to execute the shortcut on your keyboard (Shift+V or Shift+H) or for the custom ones (Shift+J or Shift+B).
ADDITIONAL NOTES
You can modify the shortcuts in menu.py inside the brackets if you prefer other ones.
FEEDBACK
I would be happy to know your feedback and listen to any other suggestions.
SPECIAL THANKS
Adrian Pueyo for his Python course and Jorge Hernández for his shortcuts suggestions and custom panels too. ;)