Python Forum
Skeleton file export error Python Code - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Skeleton file export error Python Code (/thread-30762.html)



Skeleton file export error Python Code - pepapoha - Nov-05-2020

Hello, there is a file format, this file is a skeleton and I want to convert this file, my friend wrote import for this file and it works, but I need to revert back to the old original file structure, but there is a problem while exporting. thanks everyone


Custom file Blender Script Import/Export - pepapoha - Nov-14-2020

any help ?


RE: Skeleton file export error Python Code - buran - Nov-14-2020

I don't know how you expect any help while providing barely any info - just some screenshot and some short video.
More or less it's unclear what you want to achieve and there is no supporting info necessary to understand your problem


RE: Skeleton file export error Python Code - pepapoha - Nov-14-2020

@buran There is a file, this is a skeleton file, a binary file, and this file has a format, I can import this file for the blender, but I want to restore it to the original file format, but there is a problem when restoring it, quaternion and translations are not export, I guess the values ​​of bones not coming out.
Here I am upload scripts and sample file.everything looks fine, only the values ​​of the bones are not exported ///I can import this file and now I want to revert/// Converter .bsk to .fbx * .fbx to .bsk
https://mega.nz/file/3uBCXDZD#0HDh8pLjIKp2v-axYewsBd8juWEQfh5DKNCY4RuqN1U
and file format here
https://github.com/DummkopfOfHachtenduden/SilkroadDoc/wiki/JMXVBSK-0101

The skeleton of the original file I imported first on the blender screen, and I exported it to the desktop according to the file format, but the values ​​of the bones did not come out when exporting quaternion and translations, anyway, I reopened the file on the desktop and the bones were intertwined, the trouble is here f.write (struct.pack (" 4f, 0.0,0.0,0.0,0.0)) here but I don't know how to do it here


RE: Skeleton file export error Python Code - pepapoha - Nov-17-2020

can't anyone really help?

I need only .fbx to .bsk