shell render

Features you'd like to see in future versions, gripes, ideas..
Post Reply
bicameral2
Posts: 6
Joined: Sat May 28, 2011 1:15 pm

shell render

Post by bicameral2 » Wed Aug 15, 2012 6:41 pm

I would love a DOS/Darwin shell render option. A txt file render list might look like Maya's:

-r MyAmazingModel.skp -s scene1, scene2, scene4 -c FOV=50, Persp=1-rp Fast -sun 1, .5 -cont -.45, -exp .29 -img 3555x2000 -n MAM_0001, seq
-r MyDecentModel.skp -s scene4, scene8, scene9 -c FOV=50, Persp=1-rp Fast -sun 0, .5 -cont .05, -exp .29 -img 3555x2000 -n MDM_0001, seq

etc.

the point being i could batch output previously rendered pics, make specific changes to various parameters. All by just running the shell without having to open each file and scene manually; or opening the SU GUI at all. it's a handy tool to have when your generating imagery for large and fast projects.

thanks for reading.

User avatar
AdamB
Site Admin
Posts: 2294
Joined: Wed Apr 16, 2008 10:11 am
Location: Brighton, UK
Contact:

Re: shell render

Post by AdamB » Thu Aug 16, 2012 8:56 pm

Well technically you could write a Ruby script to do this. As in:

Sketchup.open_file "filepath to skp file"
LMap.update
Sketchup.active_model.tools.push_tool LMap::TourTool.new
Sketchup.active_model.active_view.write_image("c:\foo.jpg)
Developer of LightUp http://www.light-up.co.uk

bicameral2
Posts: 6
Joined: Sat May 28, 2011 1:15 pm

Re: shell render

Post by bicameral2 » Tue Feb 05, 2013 5:08 am

cool, thx. i will play around with this. i have not had the time to play around with ruby, so here's my chance. thanks again

Post Reply