A simple python script to help people more easily share nuke nodes.
shortCopy
Updated: 19 June 2020
Author: eden
Compatible Nuke versions: 10.5 or later
Compatibility: Linux, Mac, Windows
Perhaps some of you agree with how annoying it is to share a very large nuke node through email or messenger.
Here's a simple python script to help people more easily share nuke nodes with a short URL style.
Copy anything as usual !
and Share it !
How to install:
1. Download the attached python file into your nuke-readable directory such as .nuke
2. Modify a couple of variables in the python file:
KEYWORD_URL = 'company' # you can use any strings here
SERVER_SAVE_PATH = '/path/to/save' # Set a shareable network directory
3. Add the codes below to your menu.py
import shortCopy
menu.addCommand('Edit/Short Copy', 'shortCopy.short_copy()', 'ctrl+shift+c', index=5)
nukescripts.addDropDataCallback(shortCopy.dropShortCopy)
How to use:
Once you install the script, 'Short Copy' menu will be registered to Nuke menu > Edit > ShortCopy (Ctrl+Shift+C)
1. Select some nodes and copy them via Ctrl(Command) + Shift + C
2. Share a copied short URL via Ctrl + V
scpy://nukepedia/name-200615092155964.nk
3. Other users can import the nodes by pasting the short URL in Nuke
Update log:
1.3
- Fixed menu addition guide
1.2
- Updated to use a more portable version of platform user name
Enjoy!