I add few lines to this file (from line 563). Let’s do the export for all chains of bones:
...
root_bon = amt.getBones()
# this FrameBlock should be placed in cycle
for bone in range(len(root_bon)):
if not root_bon[bone].hasParent():
mat_r = self.getCombineMatrix(root_bon[bone])
name_r = root_bon[bone].getName()
self.openFrameBlock(mat_r, name_r) # opens "Frame {"
self.writeListOfChildrens(root_bon[bone])
self.closeBlock()
# end of cycle
self.exportMesh(obj, armatures[i])
...
But there is a problem with FrameTransformMatrix in the exported .X file.
Does anybody can help?
I will be very appreciated for your helpl as well as many,many Blender users.