Skip to content

Instantly share code, notes, and snippets.

@TurBoss
Created January 17, 2015 01:55
Show Gist options
  • Select an option

  • Save TurBoss/d5e4857230b06b074096 to your computer and use it in GitHub Desktop.

Select an option

Save TurBoss/d5e4857230b06b074096 to your computer and use it in GitHub Desktop.
import bpy
bpy.ops.object.mode_set(mode="OBJECT") # Go to Object Mode
bpy.ops.object.select_all()
objs = bpy.context.selected_objects # store all selected Pieces
for n in objs:
n.rotation_mode="ZXY" # Set euler to all stored pieces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment