Python XRUtils is a docker image that contains a number of pre-built tools useful for 3D file conversions. These tools typically take a long time to build from source. This image can serve as a useful base for other applications. Check out the Plattar dockerhub repository for the latest pre-built images.
- Convert GLTF2 models into USDZ
- Convert FBX models into GLTF2
Prebuilt containers are available from Plattar dockerhub repository.
# to build a local version of this repository run the following script
docker-compose -f live.yml build
# once built, run the following script to bring up the container
docker-compose -f live.yml up
# once the container is running, the user can exec into it with the following command
docker exec -it plattar-xrutils /bin/sh
# to clean everything run the following script as follows
sh nuke.sh
Built container places all executables in the PATH environment and can be accessed as follows.
# Use Assimp assimp tool for 3D file conversions
assimp export $FROM_MODEL_FILE_PATH $TO_MODEL_FILE_PATH
# Apple usdzconvert tool, convert GLTF to USDZ
usdzconvert $FROM_MODEL_FILE_PATH $TO_MODEL_FILE_PATH
This tool relies on the following open source projects.