From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: nuke renders with central tools
   Date: Tue, 20 Dec 2011 13:06:12 -0500
Msg# 2176
View Complete Thread (10 articles) | All Threads
Last Next
On 12/20/11 09:16, Gary Jaeger wrote:
OK so assuming we go the /usr/bin route what do I need to modify in our rush-submit? Is it just this line:

   $ENV{PATH} = "/Applications/Nuke6.3v5/Nuke6.3v5.app:$ENV{PATH}";

so would that end up being:

   $ENV{PATH} = "nuke";

?
    I would set the PATH to just include /usr/bin in the MAC section,
    and make sure the nuke command the script runs is just 'nuke' (and not eg. 'Nuke5.1v5')

    So to be specific:

NEW SUBMIT NUKE SCRIPTS

    If you have a 'new' submit-nuke script, the MAC section will look like this:

elsif ( $G::ismac )
{
    ### MAC
    $ENV{PATH}    = "/Applications/Nuke5.1v5/Nuke5.1v5.app/Contents/MacOS:$ENV{PATH}";
    $ENV{NUKECMD} = "Nuke5.1v5";
}

    ..which you'd want to change to read:

elsif ( $G::ismac )
{
    ### MAC
    $ENV{PATH}    = "/usr/bin:$ENV{PATH}";
    $ENV{NUKECMD} = "nuke";
}

    ..and you should be good.




OLD SUBMIT NUKE SCRIPTS

    If you have an 'old' submit-nuke script, the MAC section will look like this:

elsif ( $G::ismac )
{
    ### MAC
#   $ENV{PATH} = "/Applications/D2Software/nuke4/bin:$ENV{PATH}";
}

    ..notably the NUKECMD variable setting will be absent.
    In that case, uncomment the PATH setting (remove the leading '#') and change it to read:

elsif ( $G::ismac )
{
    ### MAC
    $ENV{PATH} = "/usr/bin:$ENV{PATH}";
}

    ..then search for the string "NUKE COMMAND", which should take you to a section that reads:

    # NUKE COMMAND
    #     Frame range must be last.
    #
    my $command = "nuke $opt{NukeFlags} ".
                        "-x $opt{NukeScript} ".
                        "$opt{ScriptArgs} $opt{sfrm},$opt{efrm}";

    ..make sure that nuke is in there, and not Nuke5.1v5 or some other command name.
    With that, the submit-nuke script should just run your 'nuke' which will be in /usr/bin.

    If you have a mix of Macs and other machines, then you might need to put a little
    logic in there to use "nuke" if it's a Mac, or whatever else for the other platforms.
    (This is why the newer submit-nuke scripts let you set the command name on a
    per-platform basis)

-- 
Greg Ercolano, erco@(email surpressed)
Seriss Corporation
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)ext.23
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)


Last Next