From 18150a82d9b52783e704cdb6aa43fc84e1409656 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Wed, 20 Dec 2023 15:03:00 +0100 Subject: [PATCH] Wipe tower: add G4 S0 before a temp change G-code --- src/libslic3r/GCode/WipeTower.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libslic3r/GCode/WipeTower.cpp b/src/libslic3r/GCode/WipeTower.cpp index 25ecfea6a5..8e785d18de 100644 --- a/src/libslic3r/GCode/WipeTower.cpp +++ b/src/libslic3r/GCode/WipeTower.cpp @@ -352,6 +352,7 @@ public: // Set extruder temperature, don't wait by default. WipeTowerWriter& set_extruder_temp(int temperature, bool wait = false) { + m_gcode += "G4 S0\n"; // to flush planner queue m_gcode += "M" + std::to_string(wait ? 109 : 104) + " S" + std::to_string(temperature) + "\n"; return *this; }