From ed508d49d63ec367350fd6f47491dca7dddec04f Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Thu, 20 Jan 2022 10:24:52 +0100 Subject: [PATCH] Changed the inner seam replacement threshold to 3*nozzle_diameter --- src/libslic3r/GCode/SeamPlacer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/SeamPlacer.cpp b/src/libslic3r/GCode/SeamPlacer.cpp index eee7162e11..bcd238a728 100644 --- a/src/libslic3r/GCode/SeamPlacer.cpp +++ b/src/libslic3r/GCode/SeamPlacer.cpp @@ -585,7 +585,7 @@ Point SeamPlacer::calculate_seam(const Layer& layer, const SeamPosition seam_pos penalties[i] = std::max(0.f, penalty); if (prefer_nearest) { // This hack limits the search around the nearest position projection. - penalties[i] += dist_to_last_pos_proj > 10.f * nozzle_r ? 100.f : 0.f; + penalties[i] += dist_to_last_pos_proj > 6.f * nozzle_r ? 100.f : 0.f; } }