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:
authorGhostkeeper <rubend@tutanota.com>2022-04-20 14:37:01 +0300
committerGhostkeeper <rubend@tutanota.com>2022-04-20 14:37:01 +0300
commitefc5f9d9b6a46499606aabf9d21b231c7970b13a (patch)
treee25359e3f2af86f016121edd5051bcdb469b91d3
parent1a7667832f918781ca7d2e2e008f02708b6be07c (diff)
Also use end pieces in zig-zag infill pattern for single layer
In multi-layer infill, it added these end pieces properly, but not in single-layer infill. They should be added, because not adding them leaves loose endpoints for the infill which are a weak point. This is especially visible in 100% density since it leaves gaps then if the infill is slightly too thin to add another line. I believe this was correct before, so I think a recent refactor accidentally set this to False. Contributes to issue CURA-9077.
-rw-r--r--src/FffGcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FffGcodeWriter.cpp b/src/FffGcodeWriter.cpp
index 904fa80e5..d620fdbd9 100644
--- a/src/FffGcodeWriter.cpp
+++ b/src/FffGcodeWriter.cpp
@@ -1621,7 +1621,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 = false;
+ constexpr bool use_endpieces = true;
constexpr bool skip_some_zags = false;
constexpr int zag_skip_count = 0;