diff options
author | Remco Burema <41987080+rburema@users.noreply.github.com> | 2022-05-11 16:57:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 16:57:49 +0300 |
commit | d26020e5ffbd02c5c930759d75398669dc8e10ef (patch) | |
tree | ceaf720bf1947aa47d7b54bb0d32d96b9de0676a | |
parent | 4f91b4b69d3c52d28f3315495f6513ef59f741d6 (diff) | |
parent | fec74fb40d8a67d512565232af97dcf29a7ffc00 (diff) |
Merge pull request #1658 from Ultimaker/fix_overlapping_gradual_zigzag
Don't use zig-zag endpieces when using gradual infill
-rw-r--r-- | src/FffGcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FffGcodeWriter.cpp b/src/FffGcodeWriter.cpp index 4a8654d14..75b93654b 100644 --- a/src/FffGcodeWriter.cpp +++ b/src/FffGcodeWriter.cpp @@ -1632,7 +1632,7 @@ bool FffGcodeWriter::processSingleLayerInfill(const SliceDataStorage& storage, L const auto pocket_size = mesh.settings.get<coord_t>("cross_infill_pocket_size"); constexpr bool skip_stitching = false; constexpr bool connected_zigzags = false; - constexpr bool use_endpieces = true; + const bool use_endpieces = part.infill_area_per_combine_per_density.size() == 1; //Only use endpieces when not using gradual infill, since they will then overlap. constexpr bool skip_some_zags = false; constexpr int zag_skip_count = 0; |