A CLI-based 3D File Exporter and Converter powered by Blender.
# install Docker: https://docs.docker.com/get-docker/
# clone Repo
git clone git@github.com:elfrank/3d-file-converter.git
# generate .env file
touch .env && echo "DOCKER_IMAGE_NAME=3d-file-converter" >> .env
# install dependencies
nvm use
npm install
# build the docker image
scripts/docker-build.sh
scripts/docker-start.sh
# usage
node scripts/node.js/run.js -h
# convert from obj to fbx
node scripts/node.js/run.js -i data/fixtures/teapot/teapot.obj -o data/output/teapot.fbx
# convert from fbx to obj
node scripts/node.js/run.js -i data/fixtures/teapot/teapot.fbx -o data/output/teapot.obj
- Input formats: obj, fbx, gltf
- Output formats: obj, fbx, gltf, glb, dxf
- It probably makes sense to use a python script as the entrypoint instead of a node.js script (future work?).