3d-model-convert-to-gltf
Convert 3d model (STL/IGES/STEP/OBJ/FBX) to gltf and compression
File Explorer
Download Latest Version (.zip)- E-45 _col.jpg
- E-45 _col_3.jpg
- E-45-nor_1.jpg
- E-45-steel detail_2_col.jpg
- E-45_col_2.jpg
- E-45_glass_nor_.jpg
- E-45_REF 1.jpg
- lixian.jpg
- 1583754967257.png
- E 45 Aircraft_obj.mtl
- E 45 Aircraft_obj.obj
- Samba Dancing.fbx
- test.igs
- test.stl
- test.stp
- docker-compose.yaml
- __init__.cpython-37.pyc
- main.cpython-37.pyc
- routes.cpython-37.pyc
- setting.cpython-37.pyc
- __init__.cpython-37.pyc
- Convert.cpython-37.pyc
- redis.cpython-37.pyc
- __init__.py
- converter_pb2.py
- converter_pb2_grpc.py
- README.md
- rpc_client.py
- BaseException.py
- ConvertException.py
- converter.proto
- __init__.py
- converter_pb2.py
- converter_pb2_grpc.py
- __init__.py
- Convert.py
- File.py
- GltfPipeline.py
- stl2gltf.py
- upload.py
- convert.py
- requirements.txt
- rpc_server.py
- .gitignore
- convert.sh
- Dockerfile
- LICENSE
- README.md
- README_ZH.md
# Installation Guide
1. Get the code
git clone https://github.com/wangerzi/3d-model-convert-to-gltf
Downloads the entire project code from GitHub to your computer.
cd 3d-model-convert-to-gltf
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
$ docker pull wj2015/3d-model-convert-to-gltf:latest
Type this command into your terminal and run it.
$ docker run -d -p 8999:8999 wj2015/3d-model-convert-to-gltf:latest
Runs the built image as an actual container.
docker pull wj2015/3d-model-convert-to-gltf
Type this command into your terminal and run it.
user@MacBook-Pro environment % docker-compose up
Runs the command against the services defined in the compose file.
user@MacBook-Pro 3d-model-convert-to-gltf % docker ps
Type this command into your terminal and run it.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install -r server/requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
