From 29713c666729fb58c32b4f8efb00d59d7f8ca9a8 Mon Sep 17 00:00:00 2001 From: igiannakas <59056762+igiannakas@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:26:45 +0100 Subject: [PATCH] Updated to use overhang wall speed instead of bridging speed for this algorithm --- src/libslic3r/GCode.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 9f6181f713..46b0c0f7e9 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -4529,7 +4529,7 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description, std::vector new_points {}; if (m_config.enable_overhang_speed && !m_config.overhang_speed_classic && !this->on_first_layer() && - (is_bridge(path.role()) || is_perimeter(path.role()))) { + ( is_perimeter(path.role()))) { double out_wall_ref_speed = m_config.get_abs_value("outer_wall_speed"); ConfigOptionPercents overhang_overlap_levels({75, 50, 25, 13, 12.99, 0}); ConfigOptionFloatsOrPercents dynamic_overhang_speeds( @@ -4545,8 +4545,12 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description, (m_config.get_abs_value("overhang_4_4_speed") < 0.5) ? FloatOrPercent{100, true} : FloatOrPercent{m_config.get_abs_value("overhang_4_4_speed") * 100 / out_wall_ref_speed, true}, - FloatOrPercent{m_config.get_abs_value("bridge_speed") * 100 / out_wall_ref_speed, true}, - FloatOrPercent{m_config.get_abs_value("bridge_speed") * 100 / out_wall_ref_speed, true}}); + (m_config.get_abs_value("overhang_4_4_speed") < 0.5) ? + FloatOrPercent{100, true} : + FloatOrPercent{m_config.get_abs_value("overhang_4_4_speed") * 100 / out_wall_ref_speed, true}, + (m_config.get_abs_value("overhang_4_4_speed") < 0.5) ? + FloatOrPercent{100, true} : + FloatOrPercent{m_config.get_abs_value("overhang_4_4_speed") * 100 / out_wall_ref_speed, true}}); if (out_wall_ref_speed == 0) out_wall_ref_speed = EXTRUDER_CONFIG(filament_max_volumetric_speed) / _mm3_per_mm;