Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Wierd FBX exported from bvh with FBX SDK for python

kanbaXGR9K
Community Visitor

Wierd FBX exported from bvh with FBX SDK for python

kanbaXGR9K
Community Visitor
Community Visitor

Hi ! 

I built FBX SDK Python binidings for my python environment (Python 3.8), and it suceeded. 

But when I export fbx from bvh file, the exported fbx file has something wrong...

 

Here is my code for convert bvh to export fbx. 

```

from fbx import *

# Create
manager = FbxManager.Create()
scene = FbxScene.Create(manager, "fbxScene")
bvh_path = "sample.bvh"
fbx_path = "sample.fbx"


import FbxCommon
result = FbxCommon.LoadScene(manager,scene,bvh_path)
result = FbxCommon.SaveScene(manager,scene,fbx_path,0)

scene.Destroy()
manager.Destroy()

```

No error has occured, but there seems to be something wrong in that fbx file when opening that. 

I read this thread, and I tried change bvh format ("zxy" rotation, "xyz" rotation, "zyx" rotation ,... )but I couldn't fix this problem. 

I have no idea now.

 

Thank you. 

0 Likes
Reply
580 Views
1 Reply
Reply (1)

genk05223122
Participant
Participant

Hello. I am in the same situation. Has anyone solved this?

0 Likes