Skip to content

About

A collection of small tools and shortcuts designed to simplify node graph layout and speed up everyday compositing work.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

English · Español

LGA Layout Tool Pack logo LGA LAYOUT TOOL PACK
Lega | v2.62


What's new: Releases

Installation

  • 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.


Enable Tools v1.05 | Lega

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.


Add Dots before (aka Dots) v5.1 | Alexey Kuchinski | Mod Lega v2.2

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.

Add Dots before shortcut


Add Dots after v1.62 | Lega

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.

Add Dots after shortcuts


Script Checker v0.87 | Lega

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.



Script Checker shortcut


StickyNote v1.0 | Lega

Creates a StickyNote, or edits the selected one, with a few extra options.



StickyNote shortcut


Create LGA_Backdrop v1.0 | Lega

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.

Create LGA Backdrop shortcuts


Label Node v1.0 | Lega

Changes a node's label through a popup window.



Label Node shortcut


AutoStamps v0.70 | Lega

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.


Select Nodes v1.3 | Lega

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 Nodes shortcuts

  • 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 connected Nodes shortcuts

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

Align Nodes v1.2 | Lega

Aligns the selected nodes according to the shortcut.
If more than one backdrop is selected, it aligns the backdrops instead of the nodes.

Align Nodes shortcuts


Distribute Nodes v1.1 | Lega

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.

Distribute Nodes shortcuts


Arrange Nodes v0.81 | Lega

Aligns and distributes the selected nodes across multiple columns, taking into account how the nodes are connected to each other.

Arrange Nodes shortcuts


Scale Nodes v1.0 | Erwan Leroy

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

Scale Nodes shortcuts


Push Nodes v1.0 | Mitja Müller-Jend

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.

Push Nodes shortcuts


Pull Nodes v1.0 | Mitja Müller-Jend | Mod Lega

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.

Pull Nodes shortcuts


Easy Navigate v2.3 | Hossein Karamian

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.

Easy Navigate shortcuts


Toggle Zoom v1.1 | Lega

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.

Toggle Zoom shortcuts


About

A collection of small tools and shortcuts designed to simplify node graph layout and speed up everyday compositing work.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages