This project is a sample program of FBX SDK Python.
When using Docker, lerignoux/python-fbx is used, so no special installation is required.
If you do not use Docker, please install Python and FBX SDK Python 2019.x.
FBX SDK Python Official Website
You can convert cube.obj
to cube_binary.fbx
(FBX binary format) with the following command.
python convert_fbx/fbx_binary.py resources/cube.obj resources/cube_binary.fbx
If you have already installed Docker, the following command will work as well.
docker-compose run convert-fbx-binary
You can convert cube_binary.fbx
to cube_ascii.fbx
(FBX ASCII format) with the following command.
python convert_fbx/fbx_ascii.py resources/cube_binary.fbx resources/cube_ascii.fbx
If you have already installed Docker, the following command will work as well.
docker-compose run convert-fbx-ascii
You can print cube_binary.fbx
in an xml format to stdout with the following command.
python show/show_attribute.py resources/cube_binary.fbx
If you have already installed Docker, the following command will work as well.
docker-compose run show-attribute
The FBX SDK is under Autodesk License.