3d-file-converter

A 3D File Converter running in Docker that converts from OBJ|GLTF|FBX to OBJ|GLTF|FBX|GLB|DXF

View the Project on GitHub elfrank/3d-file-converter

3d-file-converter

Maintainability Test Coverage

A CLI-based 3D File Exporter and Converter powered by Blender.

Setup

# 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

Usage

Start the Container

scripts/docker-start.sh

Run the Scripts

# 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

Formats supported

Notes

Resources