Python XRUtils is a docker image that contains a number of pre-built tools useful for 3D/2D 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
- Check image tracking quality, useful for assigning as a marker image
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 Google ARCore arcoreimg tool
arcoreimg eval-img --input_image_path=$IMAGE_PATH
# Use Assimp assimp tool
assimp export $FROM_MODEL_FILE_PATH $TO_MODEL_FILE_PATH
# Use Facebook fbx2gltf tool
fbx2gltf --verbose --input $FROM_MODEL_FILE_PATH --output $TO_MODEL_FILE_PATH
# Use Google USD from GLTF tool
usd_from_gltf $FROM_MODEL_FILE_PATH $TO_MODEL_FILE_PATH
# Use Kcoley GLTF to USD tool (python)
python $GLTF2USD_PY_PATH -v -g $FROM_MODEL_FILE_PATH -o $TO_MODEL_FILE_PATH
This tool relies on the following open source projects.