Module nukeFrontEnd :: Class NukeRenderJob
[hide private]
[frames] | no frames]

Class NukeRenderJob

source code


Instance Methods [hide private]
new empty dictionary

__init__(self, nukeExe, frameRange, scriptPath, writeNodes=None, nukeArgs=None, jobName='', jobLabel='', dev=False)
Function to initialize members of the class
source code
list
getQubeFileNameFilterCmds(self)
Build the command string that will create a Nuke fileNameFilter function that will fetch and iterate over the worker's worker_path_map dictionary.
source code
dict
_buildAgenda(self)
Create an agenda for the job, complete with per-frame python commands.
source code

Inherited from qb.frontend.pythonFrontEnd.PythonChildJob: addJobCmds

Inherited from qb.frontend.QubeJob: setLogParser

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, nukeExe, frameRange, scriptPath, writeNodes=None, nukeArgs=None, jobName='', jobLabel='', dev=False)
(Constructor)

source code 

Function to initialize members of the class

Parameters:
  • frameRange (str) - A frame range string. 1-3,6-10x2 expands to [1,2,3,6,8,10]
  • scriptPath (str) - The full disk path to a nuke script.
  • writeNodes (list) - A list of nuke Write node names; if a string is passed, it will be recast as a list.
  • nukeArgs (dict) - Optional arguments to use when starting the Nuke python session.
  • jobName (str) - Optional qube job name
  • jobLabel (str) - Optional qube job label
  • dev (bool) - Set the 'dev' value for the Qube job, enables debug output on the farm.
Returns:
new empty dictionary

Overrides: object.__init__

getQubeFileNameFilterCmds(self)

source code 

Build the command string that will create a Nuke fileNameFilter function that will fetch and iterate over the worker's worker_path_map dictionary.

Returns: list
the necessary Nuke python commands to initialize Nuke's internal path mapping

_buildAgenda(self)

source code 

Create an agenda for the job, complete with per-frame python commands.

Returns: dict
The populated work agenda for the job