can I start rendering from Python script

Hello,

please does anybody know if is it possible to start rendering from Python script?
I need produce a lot of images for some defined light and camera positions. Or alternatively,
is it possible to define exact Ipo curves of camera and light by scripting. Does anybody saw any tutorial or some such a script?

Thank you

Jirka

I don’t know if they added a function for rendering yet, but you can call blender from the command line to render a particular blend file (using os.system)

And you can create and modify IPOs using the IPO module of the Blender API.

Martin

is there a good way to save before doing this?
(a render function would be very useful)

thank you, I solved it already by coltrolling IPO curves by script and it works pretty well :<