Skip to content

Instantly share code, notes, and snippets.

@tylerlindell
tylerlindell / reduce_faces.py
Last active October 24, 2022 16:52
script for reducing faces programmatically with Meshlab's api
#!/usr/bin/env python
import sys
import os
import subprocess
# Script taken from doing the needed operation
# (Filters > Remeshing, Simplification and Reconstruction >
# Quadric Edge Collapse Decimation, with parameters:
# 0.9 percentage reduction (10%), 0.3 Quality threshold (70%)