English · Español
LGA LAYOUT TOOL PACK
Lega | v2.62
What's new: Releases
-
Copy the LGA_ToolPack-Layout folder, which contains all the ToolPack files, to %USERPROFILE%/.nuke.
It should look like this:.nuke/ +- LGA_ToolPack-Layout/ +- menu.py +- py/ +- ... -
Using a text editor, add this line of code to the init.py file inside the .nuke folder:
nuke.pluginAddPath('./LGA_ToolPack-Layout') -
The pack lets you turn tools on and off from the TPL > Enable Tools menu, explained below.
Choose which tools from the pack show up in the menu.
Open it from TPL > Enable Tools. It shows a checkbox for each tool, grouped the same way as the menu. An unchecked tool is hidden from the menu and it also is not loaded, so turning off what you don't use also lightens Nuke's startup. Changes take effect after restarting Nuke.
Your choice is saved outside the pack, in %APPDATA%\LGA\ToolPack_Layout\Enabled.ini (Windows) or ~/Library/Application Support/LGA/ToolPack_Layout/Enabled.ini (macOS), so updating the pack doesn't overwrite it. The file path is shown at the very bottom, and you can click it to open it in the file browser.
All On and All Off check and uncheck everything; Reset restores the factory defaults, which you still need to save with Save.
https://www.nukepedia.com/python/nodegraph/dots
Adds Dots before the selected node, creating connection lines
at 90 degrees to the upstream nodes.
If the selected node is in the same column as the connected node,
it aligns them. Useful when you create a new node and it is not aligned with the
previous one.

The pack's mod has several fixes and adds the ability to build a tree
when several selected nodes are connected to the same node, and
lets you add dots on any input, as long as the node
connected to that input is not in the same row or column as the
selected node.
Adds a Dot node below the selected node, and then another Dot connected to it, to the right or to the left depending on the shortcut.
Analyzes all the nodes in the script and finds connections that break certain ordering rules and layout conventions.
The tool lists in a table only the nodes that break these rules. For each node it shows:
Node: name of the detected node.
Input A / Input B / Input Mask: which node is connected to each input.
Current position: the direction where each connection is (left, right, top, etc.).
Expected position: in red, the correct location according to the defined rules.
This lets you quickly spot wrong or messy connections in the script.
Clicking a row:
• Selects the node in the Node Graph.
• Runs zoom to fit.
• Opens the node's properties panel.
This way you can fix the problem quickly. The Refresh button runs the analysis again after you adjust the connections.

Creates a StickyNote, or edits the selected one, with a few extra options.
A replacement for autoBackdrop, with extra options:
- Resize based on a margin, taking into account the nodes inside the backdrop.
- Automatic Z order.
- Two rows of random and preset colors; the second one is less saturated.
Changes a node's label through a popup window.
Finds "messy" connections in the Node Graph and automatically replaces them
with Stamps (Adrian Pueyo's system), leaving a cleaner, more readable tree.
It handles three cases:
• Very long connections between two distant nodes.
• A node that feeds its output to several destinations through Dots.
• Nodes with a hidden input (a hidden connection to a distant source).
Before replacing each group, it shows a window to confirm and name the
Stamp, zooming automatically to the context (source node and destinations). Cancel reverts
that group, and a single Ctrl+Z undoes the whole operation.
Starting from the selected node, selects nodes in the direction set by the shortcut.
- Select Nodes selects the nodes that are aligned with the selected
node, whether or not they are connected to each other.

- Select connected Nodes does the same as Select Nodes, but only
selects nodes connected to the selected node, and
recursively to the next node in the selection.

- Select all Nodes selects all nodes in the direction
set by the shortcut.

Aligns the selected nodes according to the shortcut.
If more than one backdrop is selected, it aligns the backdrops
instead of the nodes.
Distributes the selected nodes horizontally or vertically according to
the shortcut. When distributing vertically, it takes into account the height
of each node to leave the same free space between all nodes.
If more than one backdrop is selected, it distributes the backdrops
instead of the nodes.
Aligns and distributes the selected nodes across multiple columns,
taking into account how the nodes are connected to each other.

Adjusts the spacing and position of the selected nodes using
a scale widget.

http://www.nukepedia.com/python/nodegraph/push_nodes
Pushes nodes to make room in the direction set by the
shortcut, using the mouse pointer position as the pivot. It takes
backdrops into account, making room inside them without moving nodes in
other backdrops, so it's best not to leave nodes outside
a backdrop. Useful to make room when you need to add new nodes in
a crowded area.
http://www.nukepedia.com/python/nodegraph/push_nodes
A simple mod of Push Nodes that does exactly the opposite: it shrinks
the space in the direction set by the shortcut, using
the mouse pointer as the pivot.
https://www.nukepedia.com/python/nodegraph/km-nodegraph-easy-navigate/
Creates bookmarks for the selected nodes and lets you jump quickly
from one to another. Useful for large scripts.
Toggles between the current zoom and a zoom that shows all the nodes in the
Node Graph.
It lets you go back to the previous zoom level, using the cursor position
as the center. If more than 9 seconds pass between presses of the H key,
the cycle restarts.

















