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”
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”
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.
Continue reading “Custom Scripts II: Dot auto label”
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:
change_all_panel = nuke.Panel('Change value to a class')
change_all_panel.addSingleLineInput('Node class', '')
if not change_all_panel.show():
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):
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”
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”