softcat477 / SMPL-to-FBX

Load SMPL in blender
MIT License
282 stars 29 forks source link

Update API for Enums{EMode, EInterpolationType} #25

Open tshrjn opened 1 year ago

tshrjn commented 1 year ago

Seems like due to updates to the FBX (Python) SDK, the API has changed and causes segmentation fault errors

Changes were made for the Enums according to the docs here

Tested using the following versions:

Package    Version
---------- --------
Python     3.10.11
fbx SDK    2020.3.4
numpy      1.25.0
packaging  23.1
pip        23.1.2
ply        3.11
scipy      1.10.1
setuptools 68.0.0
sip        6.6.2
toml       0.10.2
tqdm       4.65.0
wheel      0.38.4
softcat477 commented 1 year ago

May I know what version of FBX Python SDK you're using and where to download it? I use 2020.0.1 downloaded from here: https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-0 with python 3.7 and do not have segmentation fault.

tshrjn commented 1 year ago

I use the latest version FBX Python SDK 2020.3.4 from the AutoDesk website - "Get FBX SDK" which directs to the latest version.

xjli360 commented 3 months ago

May I know what version of FBX Python SDK you're using and where to download it? I use 2020.0.1 downloaded from here: https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-0 with python 3.7 and do not have segmentation fault.

In the version of FBX Python SDK 2020.0.1, there is only Python27 and no Python37, as you can see link. However, if I use FBX Python SDK 2020.3.4 + Python37, segmentation fault errors will occur. What should I do?

xjli360 commented 3 months ago

I use the latest version FBX Python SDK 2020.3.4 from the AutoDesk website - "Get FBX SDK" which directs to the latest version.

Excuse me, I would like to ask how you solved this problem?