I'm excited to introduce LabelCraft, a powerful tool that helps how you manage node labels and properties in Nuke.
LabelCraft is a comprehensive node operator utility that provides an intuitive interface for customizing node labels, colors, and properties. It's designed to streamline your workflow by offering quick access to commonly adjusted node settings, all in one convenient popup window.
It is compatible with any type of nodes, allowing you to effortlessly add or modify the label, adjust common settings like hiding input, adding a postage stamp, bookmark, disable, or setting a custom color for the node, whether it's a specific color or a random one.
I know the disable option might seem unnecessary here, as it can easily be toggled by pressing 'D' on the keyboard. However, the purpose is to provide a right-click option to add a $GUI expression to it, enabling you to toggle visibility either in the GUI or on a render farm/ terminal render.
For some nodes, you can access label presets by right-clicking on the label field. It's possible to add more presets by editing the LabelCraft_customizables.json (you may find it on the LabelCraft folder) if you know how to handle a json dictionary.
The tool shows additional knobs for some selected node classes.
For the Switch node, you can right-click in the Which knob and select a TCL expression from the list. It'll add custom knobs to the node so you will be able to edit these values as you wish.
By the way, I strongly suggest using the $GUI expression in the Switch node instead of do it in the node's disable knob.
The Dissolve node also features a context menu with TCL expressions. As you can observe in the Curve editor, each expression will give you a custom curve to fade between input 0 and 1, and 1 to 0.
The best part of using LabelCraft method is that you don't have to worry about sharing your script, because the TCL expression and the custom knobs are baked into the node. So, if another artist opens your script in a workstation without LabelCraft, it still works as it should. You can also copy and paste the nodes, and they still work fine.
It's possible to add more presets by editing the LabelCraft_customizables.json (you may find it on the LabelCraft folder) if you know how to handle a json dictionary.
Installation
Download the most recent release here:
or download the repository:
or clone the repository:
Extract the zip and rename the folder:
Copy the LabelCraft folder to your .nuke folder:
Create or edit the init.py, adding these lines:
import nuke
nuke.pluginAddPath('./LabelCraft')
Start Nuke and have fun!
Comments