Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 823 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 823 Bytes

pyOBJTriangulate

Wavefront OBJ files typically consist of triangles, but they can also include quads and polygons. This script aims to convert all quads and polygons found in an OBJ file and create a new OBJ file containing only triangles.

This script is using the python script in the repository pyTriangulate.

Example

The trumpet.obj file contains quads and polygons. Just run the script as follows

python main.py .\objFiles\trumpet.obj .\objFiles\trumpet.triangulate.obj

Trumpet result trumpet.triangulate.obj

License

This software is released under the MIT License terms.