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.