I have an armature found in my .blend file here and I want to know the angles of the joints of my armature in degrees? I want to know how I can get the angle in degrees through python?
As shown below the bone angle is set to be 0,0,0 around x,y,z although the bone is bent, I don't know why?
Also if I rotated the selected bone 30 degrees around x by selecting the bone pressing R then X then 30, the transform menu angle around x is not 30 as shown below, I don't know why? I've tried this bpy.data.objects['MyRig'].pose.bones['Bone2'].rotation_euler but it doesn't give the same result as shown in the transform menu.


bpy.data.objects['MyRig'].pose.bones['Bone2'].rotation_euler? I wonder how I can get the joint angle between two bones in degrees not relative to the rest pose as for example 35 degrees or something? – Tak Jan 07 '17 at 10:42math.degrees(angle). – batFINGER Jan 07 '17 at 11:49math.degrees(bpy.data.objects['MyRig'].pose.bones['Bone2'].rotation_euler[0])and this gives2.1344341156289847e-06so still it's not the one I want. Like as shown here http://pasteall.org/pic/index.php?id=110859 the angles would have a value more than zero. Do you know what I mean? I hope I'm explaining properly, like my aim is to get the angle between each bone and it's parent cause after that I will set a rotation limit on each axis for every bone. – Tak Jan 07 '17 at 11:59