CmdLineRender v2.1
This location is for Registered Users Only.
Perhaps you need to login or register.
6.2, 6.3, 7.0 or later
Windows


WINDOWS ONLY
Python script to create windows Batch file to launch Nuke renders by command line. It's less memory consuming
Plus some options like :
render "frame by frame" which allows to flush properly the memory for each frame. Some comps (same thing with Eyeon Fusion) tends to increase rendering time all along the process.
"skip existing frame" for deleted bug frames or deleted modified frames to avoid complicated frameranges.
it creates BAT executable files name like : "compName_WriteName_x1x450-525_FrameByFrame"
These scripts are inspired from Tim BOWMAN's "bgNukes" and Jep HILL's "skip existing renders" scripts .
to install add these lines to your menu.py
import CmdLineRender
menubar = nuke.menu('Nuke')
m = menubar.addMenu('Nukepedia')
m.addCommand('CL Render', 'CmdLineRender.CLrender(nuke.selectedNodes())')
Comments
cheers,
vincent
Thanks for the report, it's much appreciated. It's now fixed in the new 1.2 version.
cheers,
philhub
Without rendre farm, saved my nights!
Traceback (most recent call last):
File "C:/Users/Marti n/.nuke/menu.py ", line 9, in
m.addCommand('C L Render', 'CmdLineRender.CLrender(nuke.selectedNodes())')
NameError: name 'm' is not defined
What have I done wrong? The CmdLineRender.p y is also in the .Nuke dir.
Cheers.
It's an omission from me, sorry for that. I put in my own menus and didn't written the whole thing to work straight.
But for a general purpose we can put it in the Render Menu, so the lines should be :
For example
m = nuke.menu("Nuke")
m.addCommand('Render/CL Render', 'CmdLineRender.CLrender(nuke.selectedNodes())')
Thanks for the report,
Cheers,
philhub
you can add this line to have this behaviour :
m.addCommand('Render/CL Render ALL', 'CmdLineRender. CLrender(nuke.a llNodes('Write' ))')
Cheers
philhub
Where does the bat file save to btw?
Thanks
In the comp's folder !
Thanks for the quick response. your a life saver... so much quicker with this script!!!
Is there a way to get it to render chunks rather than rendering a single file closing out nuke / reopening rendering a frame then closing out nuke / reopening nuke rendering a frame....
Skip existing file just reports an error
Regular rendering just hangs in there doing nothing.
with a regular nuke command line render you use -F 1-100x4 to render every 4th frame. When I have it split into multiple BAT files, I get
1-100
2-100
3-100
4-100
but I don't see it adding the x4 anywhere
\Dale\Nuke\Dale\CmdLineRender.pyc was unexpected at this time.
RSS feed for comments to this post