I'm trying to export bone coordinates using ob.find_armature().data.bones
.
I made a test file that has two connected bones, and set these position values manually in the UI.
Bone 1 Coordinates
- Head:
(1, 1, 1)
- Tail:
(2, 2, 2)
Bone 2 Coordinates (connected to Bone 1)
- Head:
(2, 2, 2)
- Tail:
(3, 3, 3)
So I go to access the bone data in python, and here's what I get.
Bone 1 Coordinates
- Head:
(1, 1, 1)
- Tail:
(2, 2, 2)
- I guess these are absolute world coordinates.
Bone 2 Coordinates (connected to Bone 1)
- Head:
(0, 0, 0)
These must be relative to the last bone's tail. - Tail:
(-0.00000, 1.732051, 0.000000)
What are these?
Proof and test Blend file: https://app.box.com/s/olb6hzi3p0z4ejqbtyfk
head_local
andtail_local
will give me the coordinates I'm looking for, but I wish someone could explain what those other coordinates are. $\endgroup$