• menu tutorialsRandom Tip:
    Ctrl+Click (LMB) on a tab will detach it from a panel​​​​​

  • menu tutorialsRandom Tip:
    Use MMB+Drag in the Viewer's timeline to zoom a region, Alt+LMB+Drag to pan it and MMB+Click to zoom-to-fit
     
  • menu tutorialsRandom Tip:
    When working with the Properties Bin you can use Ctrl+Double Click on a node to open it as a float window
     
  • menu tutorialsRandom Tip:
    Use J to select a backdrop and jump to it in the DAG
     
  • menu tutorialsRandom Tip:
    There's a Nuke IRC chat room on foonetic.com , the channel is #nuke

  • menu tutorialsRandom Tip:
    holding ctrl/cmd+shift when dropping a node on top of another will swap their positions and connections in the tree

  • menu tutorialsRandom Tip:
    Ctrl + click & drag a node to select and move its upstream tree along with it

  • menu tutorialsRandom Tip:
    Middle clicking a menu item from the toolbar recalls the last node/tool used from that menu

  • menu tutorialsRandom Tip:
    Quick tap the space bar to maximize a pane and hold it a bit longer to open the right-click menu

  • menu tutorialsRandom Tip:
    Alt+up/down arrow will change version numbers in Read and Write nodes' file paths
     
  • menu tutorialsRandom Tip:
    You can scroll the Properties Bin by Alt+Clicking & dragging labels of nodes
     
  • menu tutorialsRandom Tip:
    Not all exr files are equal in nuke. Try to insure scanline exrs for best results
     
  • menu tutorialsRandom Tip:
    Use Alt+W to draw a ROI in the viewer

  • menu tutorialsRandom Tip:
    holding ctrl and click+dragging to the left of a digit in a number field will turn on the virtual slider for that decimal position 

  • menu tutorialsRandom Tip:
    Many text-related knobs will accept basic HTML, e.g. in a node's label knob: <b>bold text</b> <i>italics</i>
     
  • menu tutorialsRandom Tip:
    use the number pad to nudge any selected OSC (on screen control). The modifier keys effect the increments

  • menu tutorialsRandom Tip:
    "/"-key on the numberpad lets you search for nodes in the DAG by name
     
  • menu tutorialsRandom Tip:
    You can toggle full screen for most floating panels in Nuke by using Alt+S
     
  • menu tutorialsRandom Tip:
    page up and page down keys cycle through your available layers in the viewer

  • menu tutorialsRandom Tip:
    You can use Ctrl+T to cycle between panels of a pane
     
  • menu tutorialsRandom Tip:
    shift+number key on a selected node loads the respective buffer into wipe mode

  • menu tutorialsRandom Tip:
    hover the mouse pointer over any knob to see it's tooltip help

  • menu tutorialsRandom Tip:
    Use Shift+{ and Shift+} to hide/show the top and bottom toolbars of a Viewer
     
  • menu tutorialsRandom Tip:
    holding shift while click+dragging a connected arrow head or tail will copy the respective pipe to create another connection

  • menu tutorialsRandom Tip:
    Shift + escape closes the current group tab in the DAG (alt + escape on OSX)

  • menu tutorialsRandom Tip:
    sign up to the official mailing lists through Nuke's help menu

  • menu tutorialsRandom Tip:
    Bit depth is only relavent as it relates to gamut and needed gradation with in that gamut
     
  • menu tutorialsRandom Tip:
    "$gui" in expressions will return 1 in the UI and 0 at render time. Great for enabling nodes only on the render farm.

  • menu tutorialsRandom Tip:
    When working with floating viewers use Ctrl+R or Command+R to have the viewer window resized to fit it's contents

Nuke Scene Collector v2.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Dave G
This is a shell script for OS X / Linux that reads Nuke files and collects Nuke script and all support docs to a location you specify.
Requirements:
5.0, 5.1, 5.2, 6.0, 6.1, 6.2, 6.3, 7.0 or later
Linux, Mac
08 Oct 2012
803

This is a shell script for OS X / Linux that reads Nuke files and collects the scene to another location for archiving. Great for transferring projects and contents to an external device. Usage: run script on scene file (path/to/script path/to/nukescene.nk).

version history:

1.1: now makes a relinked copy of the script as well as an unaltered copy to the destination folder. See it in action: http://www.vimeo.com/17030922

1.2: added a uniq line stripping so it wouldn't trip over duplicated read nodes

1.3: now works with source files that may be nested within a folder with a space in the name. You still need to collect to a clean path (/Volumes/no/space/destination/) for the relinked copy to work, so that's the only limitation. 

1.4: minor change to better translate numbers ([0-9]*) in the copy command instead of just a generic (*) catchall wildcard that could trip up some copies.

2.0: More robust all around. Now uses "-exec cp" command via find so it doesn't choke on copying too many files. Now works with ### numbering for sequences as well as %04d type sequences. Fixed matching pattern that could copy some Write files. Now collects referenced LUT files. 

2.1: works with scenes that use project directories as a relative root folder.

Free. Unsupported.
Please login in order to download these files.

Comments   

 
0 # J Bills 2010-10-20 14:38
thanks, using this religiously now!
 
 
0 # francisco palomares 2010-12-13 02:30
Awesome. This is the solution we've been waiting for during a long time ago!
 
 
0 # darren coombes 2011-01-19 22:42
Hate to sound like an idiot, but how do i get this working?
 
 
0 # DAve G 2011-01-20 08:22
darren - drag the shell script .sh file into a Terminal window and before hitting enter, drag the nuke scene file into the Terminal so that it forms a text line similar to this: /Volumes/MYBACK /DOWNLOADS_MB/n ukecollect.sh /Volumes/HOME_R AID/WORK/temppo stlight.nk and then hit enter and follow the prompts.
 
 
0 # darren coombes 2011-01-20 15:32
Thanks Dave, i tried doing the above and it comes up with "Permission denied" (see below for terminal text)

Suite03:~ editor$ /Users/editor/D ownloads/nukeco llect.sh /Volumes/RAID/0 _Misc/Texture Mapping.nk
-bash: /Users/editor/D ownloads/nukeco llect.sh: Permission denied
 
 
0 # DAve G 2011-01-20 15:46
ah - it looks like the script loses execution permissions when you download it, maybe for browser security reasons. Add execution permissions to the script in the terminal by entering this: chmod +x /Volumes/MYBACK /DOWNLOADS_MB/n ukecollect.sh - obviously the part after +x is the path to your downloaded script.
 
 
0 # darren coombes 2011-01-20 16:53
Thanks Dave, it worked on my laptop, but not on our system here at work. We unfortunately have spaces in between characters on some folder names, and it must be making the script not function properly. Something we may need to fix. Thanks
 
 
0 # DAve G 2011-01-20 17:38
that's why you should drag the file into the window, so that it's properly "escaped," in UNIX terms. There are two easy ways to fix the path with spaces: put a slash before the space or put quotes around the full path: /Volumes/HOME_R AID/file folder with spaces/doc.nk or "/Volumes/HOME_R AID/file folder with spaces/doc.nk"
 
 
0 # DAve G 2011-01-20 17:40
the server parsed my note about incorrectly taking out the back slashes. it should be /Volumes/HOME_R AID/fileBACKSLA SHHERE folderBACKSLASH HERE withBACKSLASHHE RE spaces/doc.nk
 
 
0 # DAve G 2011-01-21 19:52
I realized you were talking about spaces in the path to the documents or source files tripping it up so I whipped up a copy that works with those: http://www.can-con.ca/downloads/nukecollect_spacesinnames.zip . It will not work with file or path names that don't have a space in them so use one or the other until I add a check to an updated script. The problem is that Nuke scripts put quotes around paths with spaces in them and not around paths with no spaces, so it makes matching and replacing trickier. It's not much work to make it work for both but it's late.
 
 
0 # DAve G 2011-01-23 12:04
ok - I removed the link above because the 1.3 script I just submitted now works for both cases (spaces in path and no spaces in path, mixed or not).
 
 
0 # DAve G 2011-01-27 19:44
just a note for Linux users - I just noticed that Ubuntu puts single quotes around paths when you drag the folder into the terminal window. These quotes will trip up the collecting if around the destination path. Write out the path without quotes and it will work.
 
 
0 # khush LP 2012-03-16 07:35
...
would this work on a Windows platform? if yes then 1) how exactly??? 2)i need to archive some stereo setups... each read node has left and right eye renders and i have used the %V to load them both in the read node.
can i use this script?
 
 
0 # DAve G 2012-03-16 08:50
This won't work on Windows but there is a Python scene collect script here that should: http://www.nukepedia.com/python-scripts/import-export/nukecollect/
 
 
0 # Sebastian Metz 2012-09-06 09:59
Hi Dave,

first off: Thanks a lot for writing this script! Great functionality, which I could use ALL the time, IF there weren't those two things...
So please consider this a feature request ;-)

1. Make the script understand read nodes with the (Nuke 6.3v8) file sequence notation "path/filename_ ###.ext" instead of the "path/filename_ d.ext" thing. This forces us to go through ALL the read nodes/do a batch find/replace every time....

2. Add support for the project directory file path concatenation. At our site, since we are using Houdini for the 3D part and very much like the $JOB-variable method, we like to work with setting the Project Directory once in the scene settings and then taking advantage of relative read node paths.

What do you think?

Greetings from good ol' germany,
Sebastian
 
 
0 # DAve G 2012-09-10 09:53
thanks for the suggestions Sebastian. I needed to update the utility for some other stuff so I integrated your suggestion about #### sequence notation in version 2.0, which is now live. If you send me a sample scene that uses your $JOB variable, I can take a look at supporting that. Email a sample script to daveg at can-con dot ca -- thanks,
 

You have no rights to post comments

We have 144 guests and 3 members online