Ultimaker / CuraEngine

Powerful, fast and robust engine for converting 3D models into g-code instructions for 3D printers. It is part of the larger open source project Cura.
https://ultimaker.com/en/products/cura-software
GNU Affero General Public License v3.0
1.66k stars 871 forks source link

[CURA-11597] fix duplicate support extrusions #2062

Closed rburema closed 2 months ago

rburema commented 3 months ago

Gradual support infill in combination with either zig-zag or connected infill lines can cause (nearly) duplicated or too-close support extrusions. This issue can be exacerbated (or become apparent) if the lines are in the exact direction of the 'walls' (or areas actually, as the worst cases are when there are 0 walls).

This is a best-effort for a patch, but not a complete fix yet. (There's at least one case still happening in a model that was full of examples.)

Also, one of the fixes I made requires the densities for the gradual infill to be recalculated. This hasn't happened yet. (+ Limited only to when zig-zag and gradual (support) infill are combined...)