Apr 13, 2026stl · mesh · optimization · engine
Vertex Optimization Engine Update
We shipped an edge-aware vertex optimization pass that reduces STL size and improves slicer stability without changing the visible silhouette.
Highlights
- Edge-aware vertex welding: merges near-duplicate vertices while preserving sharp boundaries.
- Degenerate triangle culling: removes zero-area faces that can confuse some slicers.
- Deterministic output ordering: repeated conversions produce stable topology and byte-level reproducible STL streams.
What changed in the pipeline
This release adds a post-mesh optimization stage that runs after raster/vector sampling and mesh generation, but before STL serialization.
High-level pipeline (simplified)
input (PNG/SVG)
→ normalize (colorspace / alpha / viewBox)
→ sample (height field / contours)
→ mesh generation (triangulation)
→ vertex optimization (weld + cull + ordering) ← NEW
→ STL serialization (stream)text
Impact
- Smaller STL files: fewer redundant vertices and faces means faster uploads and faster slicing.
- Cleaner geometry for downstream tools: reduced chance of warnings like “degenerate facets” in slicers.
- No UX changes: the tool UI stays the same; improvements are internal.
Try it
Convert a clean, high-contrast PNG with sharp edges to see the best effect. Use the PNG / SVG → STL converter.