prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.65k stars 1.92k forks source link

Minimize number of starts and stops of extrusion #3282

Closed espr14 closed 3 years ago

espr14 commented 4 years ago

v2.1.0 win64

In each layer perimeters are split into paths. At the junction algorithm has to pick one way. The other is printed in another path (in most cases). Each path has its own start and stop of extrusion. Some filaments cause issues at starts and/or stops of extrusion. More starts and stops means more trouble.

Lets minimize number of starts and stops of extrusion by changing the path a little bit. Slicer creates closed loops or polylines (where start and finish are not touching themselves). If we change the path we can decrease number of starts/stops. It's very hard to describe so see below for example.

Current (and weak): min

Proposed (and stronger): min2

rtyr commented 3 years ago

Similar to https://github.com/prusa3d/PrusaSlicer/issues/4924. Closing this one.