Nuke Collect v2.0
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Dave Girard
A cross-platform Python script to collect and relink scenes and assets.
9.0 or later
9.0 or later
05 Dec 2015
A cross-platform Python script to collect and relink scenes and assets. Supports globbing (###, %04d type variables) and is smart enough not to collect duplicate read nodes for time savings. It also won't clobber assets that have the same name but different source folder (i.e.: /render/diffuse/image.exr and /render/specular/image.exr). To install in your Nuke menu bar, put this script in your script folder and then add this to the end of your Nuke menu.py file:
ref = menubar.addMenu('Nuke Collect')
ref.addCommand('Nuke Collect', 'nukecollect.nukecollect()')
Please login in order to download these files.
I installed it this morning. It works, but there is an issue on mac where it doesn't copy to the specified folder.
Does anybody have a working alternative?
It's on Nukepedia. I tried several others but there were problems.
Check the comments section for easier instalation and relative paths tip ;)
By the way, I still cannot find a good relative paths solution. Any tips? In Houdini or After Effects the project always works, no matter how you move it (with the files). In nuke I have to add expression to EVERY read and write node. This is a bit troublesome. I found scripts for selecting and replacing the path but only in the Read nodes. Write nodes are still a pain.
Thanks for any tips ;)
Actually I've been meaning to play around with relative paths. Check the Nuke User Guide for "project directory" and you'll find what you're looking for ;) If you hit "S" over the nodegraph you'll get your project settings and it's right there.
I found that they didn't work on my Mac with V12.5 (don't know if this was an issue before this)
However when I modified the script for the menu.py file to be the following everything worked fine.
ref = menubar.addMenu ('Nuke Collect')
ref.addCommand('Nuke Collect', 'NukeCollect.collectThisComp()')
Hopefully this will save someone having to dig around if they don't know python very well.