This location is for Registered Users Only.
Perhaps you need to login or register.
6.3 or later
Linux, Mac, Windows
v1.3: added support for scaling X and Y independently. If only one argument is given, the nodes are scaled equally in both directions, otherwise the first argument defines the horizontal scale and the second the vertical one.
v1.2: fixed bug with backdrop nodes not behaving as expected.
v1.1: auto-adjusts backdrop nodes to fit the new node positions after scaling (doesn't matter if they are selected)
scaleNodes increases and decreases the lengths of the selected nodes' connections to either make parts of the node tree more compact or give you more space.
menu.py example (note that these lines overwrite the default zoom hotkeys which I personally never use ayway):
1 2 3 4 5
import scaleNodes menuBar = nuke.menu("Nuke") menuBar.addCommand('Edit/Node/Scale/up', 'scaleNodes.scaleNodes( 1.1 )', '=') menuBar.addCommand('Edit/Node/Scale/down', 'scaleNodes.scaleNodes( 0.9 )', '-')
after scaling down:
after scaling up: