Closed aligator closed 4 years ago
maybe we can fix some of the issues using the buffer of #10
added some simplification / smoothing by using the DouglasPeucker algorithm. It's much better now and the printer doesn't slow down anymore.
It may still need improvements, but for now its ok.
The generated gcode contains several parts which consist of too may small paths, which slow down the print and produces bad quality prints.
Especially on circles / curves this occurs:
But it also happens on (mostly) straight lines:
![grafik](https://user-images.githubusercontent.com/663900/82223773-62e06680-9923-11ea-8b83-b897907f8654.png)
A possible solution may be to simplify / smooth such parts a bit (but not too much as it should still be accurate enough. Currently I have no idea how exactly to do this.