Python Forum
Skeleton file export error Python Code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skeleton file export error Python Code
#4
@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#0HDh8pLjIK...NCY4RuqN1U
and file format here
https://github.com/DummkopfOfHachtendude...XVBSK-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
Reply


Messages In This Thread
RE: Skeleton file export error Python Code - by pepapoha - Nov-14-2020, 10:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Code error from Fundamentals of Python Programming van Richard L. Halterman Heidi 12 3,672 Jul-25-2023, 10:32 PM
Last Post: Skaperen
  Syntax error while executing the Python code in Linux DivAsh 8 4,618 Jul-19-2023, 06:27 PM
Last Post: Lahearle
  Compiles Python code with no error but giving out no output - what's wrong with it? pythonflea 6 3,118 Mar-27-2023, 07:38 AM
Last Post: buran
  Error in if-then-else python code Led_Zeppelin 6 3,642 Jul-27-2022, 07:53 PM
Last Post: deanhystad
Question Export Python output to Excel skyline1397 1 3,098 Jun-26-2022, 05:10 AM
Last Post: skyline1397
  Problem with importing Python file in Visual Studio Code DXav 7 9,442 Jun-15-2022, 12:54 PM
Last Post: snippsat
  How to keep columns header on excel without change after export data to excel file? ahmedbarbary 0 1,730 May-03-2022, 05:46 PM
Last Post: ahmedbarbary
  Python code to read second line from CSV files and create a master CSV file sh1704 1 3,432 Feb-13-2022, 07:13 PM
Last Post: menator01
Sad SyntaxError: from simple python example file from mind-monitor code (muse 2) warmcupoftea 4 3,874 Jul-16-2021, 02:51 PM
Last Post: warmcupoftea
  Request for Python code - Features extraction from JSON file (cuckoo) thinker 1 2,867 Apr-07-2021, 04:40 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020