sameer / svg2gcode

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

Support biarc interpolation #12

Closed sameer closed 3 years ago

sameer commented 3 years ago

Biarc interpolation means GCode can consist of a few G2/G3 moves instead of many G1 moves. This will reduce gcode output size and improve handling of tolerances, assuming the machine better understands its own constraints and how to achieve the desired quality.

It should only be enabled when a flag is specified as many older/simpler machines do not support them.

LeLocTai commented 3 years ago

https://github.com/FormerLurker/ArcWelderLib worked very well for me for 3d printing. There even are prebuilt libraries.

sameer commented 3 years ago

Interesting, thanks for sharing that. It may be worth contributing any improvements here upstream to lyon_geom.