FWIW, the FLOSS CAD program SolveSpace can generate parametric sketches and export them as SVG files (file > export 2d view)
Is there a facility when doing this for controlling colour/fill?