Skip to content

Instantly share code, notes, and snippets.

@Santaro255
Created July 8, 2019 14:19
Show Gist options
  • Save Santaro255/0d3392ff36df83214af7a76680354723 to your computer and use it in GitHub Desktop.
Save Santaro255/0d3392ff36df83214af7a76680354723 to your computer and use it in GitHub Desktop.
import bpy
for step in range(1, 100+1):
bpy.context.scene.frame_set(step)
bpy.data.scenes["Scene"].render.filepath = "C:/tmp/frame_{}".format(step)
bpy.ops.render.render(write_still=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment