feat: Add initial implementation for converting SVG nametag designs to multi-part STL files.

This commit is contained in:
2026-02-14 16:40:48 -05:00
commit 7960320004
4 changed files with 318 additions and 0 deletions

13
count_tris.py Normal file
View File

@@ -0,0 +1,13 @@
import trimesh
import sys
def count_triangles(file_path):
try:
mesh = trimesh.load(file_path)
print(f"{file_path}: {len(mesh.faces)} triangles")
except Exception as e:
print(f"Error reading {file_path}: {e}")
if __name__ == "__main__":
for f in sys.argv[1:]:
count_triangles(f)