Skip to content

Instantly share code, notes, and snippets.

@Pullusb
Created August 24, 2016 21:16
Show Gist options
  • Save Pullusb/cf8eefbe25028f6daba0e2fedd0598b2 to your computer and use it in GitHub Desktop.
Save Pullusb/cf8eefbe25028f6daba0e2fedd0598b2 to your computer and use it in GitHub Desktop.
Blender script - set the filename after active camera name (keeping head path)
import bpy
from os.path import join, split
C = bpy.context
C.scene.render.filepath = join(split(C.scene.render.filepath)[0] + C.scene.camera.name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment