From 7e96406ee9ecd4fa355f66f3040ce610916e4afa Mon Sep 17 00:00:00 2001 From: "qing.zhang" Date: Wed, 13 Nov 2024 10:55:12 +0800 Subject: [PATCH] ENH: adjust scarf seam angle check threshold Jira: 8724 Signed-off-by: qing.zhang Change-Id: Id27767d07cc5ac6dcade6f9dccfea46cbcda2dbc --- src/libslic3r/GCode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 47484011e..d0684071a 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -4015,7 +4015,8 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou if (enable_seam_slope && m_config.seam_slope_conditional.value) { //BBS: the seam has been decide, only check the seam position angle - enable_seam_slope = loop.check_seam_point_angle(m_config.scarf_angle_threshold.value * M_PI / 180.0); + const auto nozzle_diameter = EXTRUDER_CONFIG(nozzle_diameter); + enable_seam_slope = loop.check_seam_point_angle(m_config.scarf_angle_threshold.value * M_PI / 180.0, nozzle_diameter); } // clip the path to avoid the extruder to get exactly on the first point of the loop;