{"id":19068692,"url":"https://github.com/elfrank/3d-file-converter","last_synced_at":"2025-07-16T11:10:18.411Z","repository":{"id":47829294,"uuid":"276760990","full_name":"elfrank/3d-file-converter","owner":"elfrank","description":"A 3D File Converter running in Docker that converts from OBJ|GLTF|FBX to OBJ|GLTF|FBX|GLB|DXF","archived":false,"fork":false,"pushed_at":"2023-01-07T19:45:36.000Z","size":911,"stargazers_count":60,"open_issues_count":9,"forks_count":19,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-18T16:25:31.831Z","etag":null,"topics":["3d-formats","blender","cli","docker","dxf","fbx","format-converter","glb","gltf","javascript","obj"],"latest_commit_sha":null,"homepage":"https://elfrank.github.io/3d-file-converter/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elfrank.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-02T23:02:37.000Z","updated_at":"2025-03-28T10:00:38.000Z","dependencies_parsed_at":"2023-02-07T23:31:18.880Z","dependency_job_id":null,"html_url":"https://github.com/elfrank/3d-file-converter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfrank%2F3d-file-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfrank%2F3d-file-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfrank%2F3d-file-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elfrank%2F3d-file-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elfrank","download_url":"https://codeload.github.com/elfrank/3d-file-converter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251320197,"owners_count":21570540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-formats","blender","cli","docker","dxf","fbx","format-converter","glb","gltf","javascript","obj"],"created_at":"2024-11-09T01:11:21.529Z","updated_at":"2025-04-28T13:34:09.447Z","avatar_url":"https://github.com/elfrank.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"3d-file-converter\n========\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/f9b6d6c2e5d74d5a425c/maintainability)](https://codeclimate.com/github/elfrank/3d-file-converter/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/f9b6d6c2e5d74d5a425c/test_coverage)](https://codeclimate.com/github/elfrank/3d-file-converter/test_coverage)\n\nA CLI-based 3D File Exporter and Converter powered by Blender.\n\n\n### Setup\n\n```bash\n# install Docker: https://docs.docker.com/get-docker/\n\n# clone Repo\ngit clone git@github.com:elfrank/3d-file-converter.git\n\n# generate .env file\ntouch .env \u0026\u0026 echo \"DOCKER_IMAGE_NAME=3d-file-converter\" \u003e\u003e .env\n\n# install dependencies\nnvm use\nnpm install\n\n# build the docker image\nscripts/docker-build.sh\n```\n\n### Usage\n\n#### Start the Container\n\n```bash\nscripts/docker-start.sh\n```\n\n#### Run the Scripts\n\n```bash\n# usage\nnode scripts/node.js/run.js -h\n\n# convert from obj to fbx\nnode scripts/node.js/run.js -i data/fixtures/teapot/teapot.obj -o data/output/teapot.fbx\n\n# convert from fbx to obj\nnode scripts/node.js/run.js -i data/fixtures/teapot/teapot.fbx -o data/output/teapot.obj\n```\n\n#### Formats supported\n* Input formats: obj, fbx, gltf\n* Output formats: obj, fbx, gltf, glb, dxf\n\n## Notes\n* It probably makes sense to use a python script as the entrypoint instead of a node.js script (future work?).\n\n## Resources\n* [Blender - Export Scene Operators](https://docs.blender.org/api/current/bpy.ops.export_scene.html)\n* [Blender - Import and Export Models](https://blender.stackexchange.com/questions/16563/how-can-i-run-blender-from-the-command-line-to-export-and-import-models)\n* [Blender - CLI Arguments](https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfrank%2F3d-file-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felfrank%2F3d-file-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfrank%2F3d-file-converter/lists"}