Skip to content

StefanJohnsen/pyOBJTriangulate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.