Learn how to install customscripts and gizmo files.

This tutorial customize  your nuke, default node settings,shortcut, adding your own toolbar menu.

    Make folder inside your .nuke folder
    icon      "put your icon inside"
    py          "put your .py file"
    group    "put your group"




1. copy pest this script into your init.py file which has inside your .nuke folder.




#for init.py


nuke.pluginAddpath('/icon')

#nuke.pluginAddpath('/group')

#nuke.pluginAddpath('/py')



2.. copy pest this script into your menu.py file which has inside your .nuke folder.



#for menu.py


Import nuke

toolBar = nuke.toolbar(“Nodes”)

r = toolbar.addMenu(‘Rion’, icon = ’icon.png’)


#shortcut for keylight
r.addCommand(‘Keyer/Keylight’, ‘nuke.createNode("Keylight")’, ‘ctrl+k’, icon = ‘Keylight.png’)



 #KnobDefault

nuke.knobDefault("Read.lable", 'Frame_Range\n[value first] - [value last]')

nuke.knobDefault("Premult.channels", "all")


 

Comments

Post a Comment

Popular posts from this blog

For Better Despill