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:35 +0300
commit715f13cb69aab736aaffc4cbaff19a652c64131d (patch)
tree8cce2f743afd24bc86acdca8071ff341d3015503
parent512caf35ba1ef7b0c35021443691ab2fe4a1d640 (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;