nukePasswordProtect v1.0
This location is for Registered Users Only.
Perhaps you need to login or register.
8.0 or later


This is a node I threw together while teaching myself some more python snippets. What the tool allows you to do is password protect your nuke script. the tool is completely standalone and will work with any scripts.
The tool isnt a .gizmo or .py it is a group node to allow it to be standalone and not corrupt the script incase the gizmo isnt installed on another computer.
to install the node just copy the text from the attached text document and paste in your node graph
the default password is pass and can be easily changed by typing in a new one in the nodes properties.
to have the node actually take effect you will need to add this to your onScriptLoad callback under the project settings python tab
nuke.toNode('Password').knob('lock1').execute()
then just save the script and next time the script is opend it will prompt you for a password, if cancel is pressed it will just close
take note if you leave the password empty on the node your script will be inaccessible unless you open your .nk file in a text editor and delete the node from there. doing so may corrupt your nuke save
Comments
I recognized some strange behaviour. When i type in a wrong password followed by the right password my nuke crashes. Furthermore, you can easily unlock it without knowing the password. Just open the .nk file in a texteditor and delete the following line:
onScriptLoad nuke.toNode('Password').knob('lock1').execute()
with deleting that line the onScriptLoad command won't be executed and you can work in the nuke file.
How can we create plugin from a gizmo, Is it possible
The Idea of creating this script is cool and useful but I couldn't use this script.
I just copy the text into my node graph and set a password and save the nuke script, then run the script again and nothing happens.
could you help me with this issue?
Also when I'm looking inside the gizmo it's empty just input and output nodes.
RSS feed for comments to this post