Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/CuraEngine.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <41987080+rburema@users.noreply.github.com>2022-05-11 16:57:49 +0300
committerGitHub <noreply@github.com>2022-05-11 16:57:49 +0300
commitd26020e5ffbd02c5c930759d75398669dc8e10ef (patch)
treeceaf720bf1947aa47d7b54bb0d32d96b9de0676a
parent4f91b4b69d3c52d28f3315495f6513ef59f741d6 (diff)
parentfec74fb40d8a67d512565232af97dcf29a7ffc00 (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.cpp2
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;