Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 609 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 609 Bytes

triangulate-svg

Example input segments, triangulation, and 3D rendering

Simple Mathematica notebook for triangulation of curves directly from paths in an SVG file. Points and segments from all polyline and polygon elements are used as input to constrained Delaunay triangulation. Internally, Mathematica uses Shewchuk's Triangle library.

Output is a Wavefront OBJ file, where the (possibly subdivided) input segments are stored as l lines.