Relinker is a Nuke tool for relinking footage automatically. It was developed to be used in a small independent film production environment where artists would typically work off their hard drives on multiple locations with different computers. The Nuke scripts we worked with at the time generally had a lot of different read nodes. Instead of losing time relinking nodes manually, we wrote this Python tool to automate the task. Video demonstration: https://vimeo.com/103858180
This script loops through all selected nodes and checks if the node has a file knob. If a file knob is present, the path will be opened in the OS file manager/browser. The user will be notified if nothing is selected or if the user does not select any nodes that have an existing file-path. If a selected node has a nonexistent path, this will be printed in the script editor, and the script will continue to process the next selected node. All paths are tested for an existing file. However, due to rendered files being frequently opened and deleted, write nodes only test for an existing directory.
Convert CornerPin From/To transformation into CornerPin extra matrix
Convert a gizmo into group. All connections remain. This script is useful if you hand your nuke scripts to other machines where the gizmos aren't installed. So with gizmoToGroup you make sure that your scripts can be read on other machines as well.
Nuke frame range fixer for readnodes
A smarter GoTo command
Keyboard shortcut to open the folder of the path currently on the clipboard. If a node with a file knob is selected, it opens that path instead.
Converts a hex value to a linear RGB float using Nuke's standard sRGB to Linear LUT
spawn FrameHold to extract still frames
This is a small script that I pieced together for fun while teaching myself python. It takes the image value of a selected node and generates it in the node graph using dots.