Nuke Gizmo for supervising shots.
In this repository you can found built gizmo in folder built.
- Copy this code to menu.py
import nuke
toolbar = nuke.toolbar("Nodes")
toolbar.addCommand( "Merge/Bricker", "nuke.createNode(\"pw_bricker\")", icon="bricker.png")
def install_bricker():
nuke.thisNode()['mainScript'].execute()
nuke.removeOnCreate(install_bricker, nodeClass='pw_bricker')
nuke.addOnCreate(install_bricker, nodeClass='pw_bricker')
#fix overlay action
nuke.menu('Viewer').items()[1].action().setChecked(True)
-
Copy bricker.png to NUKE_PATH
-
Restart Nuke
If you have an older or newer version you can save gizmo for your version youself.
-
Open terminal or cmd shell
-
Go to repository root
cd .../nuke_bricker
- Start Nukes python with script compile_nk.py
/path/to/your/Nuke##.#v#/python compile_nk.py
Now new script is created from sources and saved to .../nuke_bricker/dist
-
Open script .../nuke_bricker/dist/bricker_gizmo.nk in Nuke
-
Open Control Panel of bricker node, go to tab Node and press export as gizmo.... Select path to some NUKE_PATH location and press Save.
Attention! Don't change gizmo name! It should be named "pw_bricker.gizmo". This is important!
New version of gizmo is saved!
- Break connection when copy\paste