From 230a4aaad87a3843ec130507860c1360651fb5b8 Mon Sep 17 00:00:00 2001 From: Dylan <331506+macdylan@users.noreply.github.com> Date: Thu, 11 Jul 2024 23:53:32 +0800 Subject: [PATCH] Limit the max speed on the wipe tower (#6044) * limit the max speed on the wipe tower --- src/libslic3r/GCode/WipeTower2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/WipeTower2.cpp b/src/libslic3r/GCode/WipeTower2.cpp index 6e96e21150..5b5a332419 100644 --- a/src/libslic3r/GCode/WipeTower2.cpp +++ b/src/libslic3r/GCode/WipeTower2.cpp @@ -1345,7 +1345,7 @@ WipeTower::ToolChangeResult WipeTower2::finish_layer() return poly; }; - feedrate = first_layer ? m_first_layer_speed * 60.f : m_perimeter_speed * 60.f; + feedrate = first_layer ? m_first_layer_speed * 60.f : std::min(m_wipe_tower_max_purge_speed * 60.f, m_perimeter_speed * 60.f); // outer contour (always) bool infill_cone = first_layer && m_wipe_tower_width > 2*spacing && m_wipe_tower_depth > 2*spacing;