Created
January 17, 2015 01:55
-
-
Save TurBoss/d5e4857230b06b074096 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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