I have two armature, each has the same bone structure, but the bones' location, length, and rotation is different, how to write python script to modify first armature, make first same with the second?
I want to copy the second Armature's bone position into the first one's pose mode. Not copy in edit mode.
I try these code:
restPoseBone = bpy.data.objects["Armature"].pose.bones["Bip01"] otherPoseBone = bpy.data.objects["Armature2"].pose.bones["Bip01"] restPoseBone.length = otherPoseBone.length restPoseBone.rotation_quaternion = ??
how to calculate the rotation_quaternion for the pose bone?
this is a demo blender file, I want to copy "Armature2" edit mode position to "Armature" pose mode.