I'm totally noob to blender and use it only to render isometric sprites from 3D animation. I would like a script to render my animation , rotate my object 45° on Z axis, render again, rotate again etc etc... 8 times so i can get my 8 isometric view sprites. Is it possible?

  • 1
    $\begingroup$ Why don't you just set it up as animation rotating the camera and just repeating the the other animation? $\endgroup$ – Martynas Žiemys Mar 5 at 9:03
  • 2
  • $\begingroup$ Maybe I'm wrong but i find it easier to rotate only my object $\endgroup$ – Demsay Mar 5 at 9:25
  • $\begingroup$ Not necessarily wrong but... transforming the camera (one object) is faster in general than transforming a bunch (hundreds) of objects. $\endgroup$ – brockmann Mar 5 at 10:16
  • $\begingroup$ I tried the script in the first link provided by batFINGER (thanks): import bpy from math import radians angle = -45 axis = 2 # z-axis platform = bpy.data.objects["Cube"] original_path = bpy.data.scenes[0].render.filepath for i in range(0,8): # rotate the render platform and all children temp_rot = platform.rotation_euler temp_rot[axis] = temp_rot[axis] - radians(angle) platform.rotation_euler = temp_rot; # set the filename direction prefix bpy.data.scenes[0].render.filepath = original_path + str(i) # render animation for this direction bpy.ops.render.render(animation=True) bpy.data.scenes[0]. $\endgroup$ – user89741 Mar 5 at 10:19

Isn't this just an animation?

  • Length: 8 frames
  • Keyed in Z rotation only, interpolation Linear
  • 0 at frame 1, 360d at frame 9

To copy animation to selected objects from the active object, CtrlL > 'Animation Data'.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.