Hi,
I’m working on a Blender add-on, and so far I could do everything and I’ve found answer to all my questions in the docs. Thank you all for this wonderful software and awesome documentation! But now it seems I’m unable to figure out on my own how to access armature data properly.
What I would need is, a list of bones, position+rotation quaternion pairs, in Cartesian coordinate system (right handed, +Y up, +X right, +Z front), where the root bone is in model space, but sub bones are relative to their parents. Can someone help me how to achieve this?
The python script that I have so far is here:
https://gitlab.com/bztsrc/model3d/-/tree/master/blender
And the code in question can be found here (works, kind of, it gets the armature but with incorrect coordinates). Any idea what am I doing wrong?
Thank you,
bzt