[Bf-python] Rendering from scripts (Blender 2.53)

Simon Jagoe simon.jagoe at pragmagility.com
Mon Aug 9 10:51:58 CEST 2010


Hi all,

I realised that there was a bit of extra junk in the script I attached to me previous message. Below is what I intended to send.

---------

import bpy

print('First render')
output_path = '1.png'
bpy.ops.render.render()
bpy.data.images['Render Result'].save_render(filepath=output_path)
print('Saved rendered image')

print('Second render')
output_path = '2.png'
bpy.ops.render.render()
bpy.data.images['Render Result'].save_render(filepath=output_path)
print('Saved rendered image')




More information about the Bf-python mailing list