sameer / svg2gcode

Convert vector graphics to g-code for pen plotters, laser engravers, and other CNC machines
https://sameer.github.io/svg2gcode
MIT License
254 stars 49 forks source link

Track curve control points by curve type #11

Closed sameer closed 2 years ago

sameer commented 3 years ago

(Moving this out of the README and into an issue)

Smooth curves should not use the control point when the previous curve is not of the same type (quadratic -> smooth cubic, cubic -> smooth quadratic).

This is just a nit, it shouldn't matter if the SVG is correct.

sameer commented 2 years ago

Resolved in 433c4c748285c6679a28c0f16b425942a789cd7c