Package_Project v2.1

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Marco Leone
Collect all the read nodes sequences (also read geo nodes, and camera nodes with the read file checked) into a project folder and give a relative path to every read nodes. Once everything is collected into the Project folder you can move the folder everywhere you want without loosing the connection in the nuke script with the read nodes. Great for free freelance or students projects.
4.8, 5.0, 5.1, 5.2, 6.0, 6.1, 6.2, 6.3 or later
Linux, Mac, Windows
24 Apr 2012

Collect all the read nodes sequences into a project folder and give a relative path to every read nodes.

Once everything is collected into the Project folder you can move the folder everywhere you want without loosing the connection in the nuke script with the read nodes path.

Great for free freelance or students projects.


When you run the script it will ask where to save the Project and the Project Name.

After that it will copy every read nodes, read geo nodes, camera that reads from external file into the project folder.

Very Important : when you run the script the is  a  CHECKBOX on top of the roject path, if is the FIRST time that you run the script for the nuke script leave it checked, uncheck ONLY if u have run already the script once and you want to import into the project folder new read nodes that weren't in the script the first time

copy and paste the script in the , run Nuke and you will find the script in the My Script menu

any feedback is appreciated



Please login in order to download these files.


# Reg Woo 2012-04-20 16:16
Is thier any install info would be super helpful?

# Marco Leone 2012-04-20 17:02
I'll upload a new version with the installation info later tonight,
thanks for the tip, I completely forgot about that
# Jed Smith 2012-04-24 17:55
Because of the way this script is written, it just executes when you import it. So if you go into your script panel in nuke, and Source Script, navigate to the python script, that will execute the flow of the script.

Alternatively, if you want to execute the script from a custom entry in the nodes toolbar, or from a custom entry in the File or other menu, you could add an entry in your

For example, this code add an entry in your Nuke File menu called "Package Script". Note that I have renamed this py script to be called "package_script .py" and put it in a folder of python scripts that are in my search path. (for example, a folder named 'python' in my .nuke folder, with the entry "nuke.pluginAdd Path('./python' )" in my file.)

file_menu = menubar.addMenu("File")
file_menu.addCommand('Package Script', 'import package_script')
# Jason Yip 2012-04-29 21:36
If your script can also package still frame that will be perfect!
# Marco Leone 2012-05-02 10:21
For the way I designed the script, it should package single frame as well in the _Images_ folder, have you tried?
# Jason Yip 2012-05-04 02:10
hey man! of course i tested. the tools is good, just cannot backup single frame image!
# Cameron Carson 2012-06-04 13:42
My only Suggestion would be that the last 3 lines of...

Code:<br />menu ='Nuke') <br />MyScripts=menu.addMenu('My Scripts')<br />MyScripts.addCommand( 'Package Proj', 'Package_Proj()')<br />

Should not be in there. Instead The install instructions should be to put the script in the plugin path, rename script to Package_Script and add these lines to the

Code:<br />import Package_Script<br />menu ='Nuke') <br />MyScripts=menu.addMenu('My Scripts')<br />MyScripts.addCommand( 'Package Proj', Package_Script.Package_Proj, "" )<br />
# Michael Donovan 2012-09-10 10:37
Got the plugin installed in my NUKE workgroup ... works great ... not sure I understand the checkbox though ... when it is checked .. nothing gets copied. The directory gets created, but nothing gets archived ... if I run it again and uncheck the box it seems to work.
# Marco Leone 2012-09-10 10:50
Hey Michael, I'm glad you like it :-)
The checkbox is made to package all the readNodes after you created the Project folder.

e.g. : Let's say you have your project already done and you're working on your shot, at a certain point you import other Read from your desktop. If you run the script with the checkbox on, is going to get the new ReadNodes that aren't in the Project folder and copy them in it.

give it a try and let me know :-)
# Michael Donovan 2012-09-10 11:32
Ok ... in general we are doing this once at the end of our projects ... so for now ... we should run with the checkbox unchecked to change all the read node in the project to relative paths and copy the footage found within them. Right ? If we want to take less time archiving in the future ... we can turn the check box on and only copy the delta within the project ... right ?
+1 # Skyler Leong 2013-01-22 03:02

im having problem with this script....after i copy the script to the which is located in .nuke it came out an error when i try to collect it....the error stated ( The system cannot find the path specified: D:/Jobs/) Can someone help me out on this? it im using the nuke 6.3v4?...

+1 # Chris Forrester 2014-04-10 17:45
I am also getting a similar error. It is like it is inserting a space into the path name or an extra / anyone fix this? Nuke 8
# Sebastian Haas 2014-12-03 21:43
Near the top of the script, find this line:

projectPath= '%s/%s ' % (savePath, projectName)
And get rid of the (hard to see) space after the second %s.
# Tamás Szabó 2015-04-09 14:38
Hi Marco, the script is fantastic!
Only one thing what i realized. If i run the script with Nuke in terminal mode (-t) as a subbproccess, after everything copied well, just the new file paths aren't refresh to the copied location in the new nodes. After many hours I didn't find the solution.
Do you (or anybody) have any ideas?

You have no rights to post comments

We have 2135 guests and 63 members online