By default, Nuke has a quick way of changing the name of the nodes by pressing ‘N’. However, I don’t use it at all because I don’t think that changing nodes’ names is a good idea. I always let the name as it is and change the label. Continue reading “Custom Scripts VI: Quick label changer”
Custom Scripts V: Single Node Paste
With this script you can paste a single node to a selection of nodes just with one click. Continue reading “Custom Scripts V: Single Node Paste”
Custom Scripts IV: Roto Extractor
Another script 🙂 This one is called RotoExtractor and it extracts all the roto shapes (with their own animation) individualy and places them in a new roto node with a label to indicate what roto shape has been extracted there. Continue reading “Custom Scripts IV: Roto Extractor”
Custom Scripts III: Camera labeling for CaraVR
This is my first script for CaraVR! 🙂 It’s very simple but it helps me a lot when I’m working with c_camerasolver and c_stitch separation workflows. Continue reading “Custom Scripts III: Camera labeling for CaraVR”
Custom Scripts II: Dot auto label
This script is prefect for camera projection based projects. It allows to have a clean and organised Nuke file very easily. After launching this script all the new dots check if they are connected to a camera, if so, they display the name and the label of that camera and hide the input, if not, they behave as usual.
Custom Scripts I: Quick value changers
These two scripts allow to change the value of a certain knob to a selection of nodes or to all nodes of a certain class.
Change value to a class:
def change_all_class(): change_all_panel = nuke.Panel('Change value to a class') change_all_panel.addSingleLineInput('Node class', '') change_all_panel.addSingleLineInput('Knob', '') change_all_panel.addSingleLineInput('Value', '') if not change_all_panel.show(): return panel_node = change_all_panel.value('Node class') panel_knob = change_all_panel.value('Knob') panel_value = int(change_all_panel.value('Value')) for node in nuke.allNodes(panel_node): node[panel_knob].setValue(panel_value)
You can launch this script just copying it in Nuke’s Script Editor and executing this command: Continue reading “Custom Scripts I: Quick value changers”
Menu.py customization
I have spent some time this last month learning some basic Python and learning how to customize Nuke in order to improve my productivity. Apart from little scripts that I have created (which I will share in next posts), I found that configuring nodes’ default values in the meny.py file is a very powerful way to start making things easier.
For those who are not familiar with Python, don’t be afraid. Customizing Nuke’s nodes default values only require this command: Continue reading “Menu.py customization”