model-converter-python/README.md

31 lines
888 B
Markdown
Raw Normal View History

2016-11-21 12:01:22 +01:00
# model-converter
2016-11-22 15:15:34 +01:00
2016-11-22 15:23:53 +01:00
This project aims to be a simple, lightweight, and useful 3D model editor.
For the moment, only `obj` and `ply` ascii models are supported.
2016-11-22 15:15:34 +01:00
2016-11-30 11:56:54 +01:00
Feel free to open an issue if you find anything wrong in this.
2016-11-22 15:15:34 +01:00
# Scripts
A few utilities to manage 3D models :
2016-11-22 15:23:53 +01:00
- `convert.py` that converts any type of model to any other
2016-11-25 14:18:57 +01:00
- `viewer.py` which is a simple script that renders a 3d model
2016-11-22 15:15:34 +01:00
2016-12-01 13:50:04 +01:00
# Dependencies
This project is written in python 3. The `convert.py` script is made for
needing nothing else than python. However, the `viewer.py` script has a few
dependencies, you'll need :
- pip (to install the other dependencies) `sudo apt-get install python3-pip`
for example
- numpy `sudo pip install numpy`
- pygame `sudo pip install pygame`
- PyOpenGL `sudo pip install pyopengl`
2016-11-30 15:01:41 +01:00
## Supported formats
2016-11-22 15:15:34 +01:00
- Wavefront `.obj`
- Stanford `.ply`
2016-11-30 15:01:41 +01:00
- STL files `.stl`
2016-11-22 15:15:34 +01:00