From d9de2fc4745178e6a81820362deae78a24186935 Mon Sep 17 00:00:00 2001 From: xiaoyeliu <166936931+womendoushihaoyin@users.noreply.github.com> Date: Wed, 10 Dec 2025 10:38:01 +0800 Subject: [PATCH] Delete: M400 for U1 when changing tools (#56) --- src/libslic3r/GCode.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index e50b5ba02f..9326ae706b 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -6373,11 +6373,11 @@ std::string GCode::retract(bool toolchange, bool is_last_retraction, LiftType li methods even if we performed wipe, since this will ensure the entire retraction length is honored in case wipe path was too short. */ - // Snapmaker U1 - std::string printer_model = this->m_curr_print->m_config.printer_model.value; - if (printer_model == "Snapmaker U1" && toolchange) { - gcode += "M400\n"; - } + // // Snapmaker U1 + // std::string printer_model = this->m_curr_print->m_config.printer_model.value; + // if (printer_model == "Snapmaker U1" && toolchange) { + // gcode += "M400\n"; + // } if ((!this->on_first_layer() || this->config().bottom_surface_pattern != InfillPattern::ipHilbertCurve) && (role != erTopSolidInfill || this->config().top_surface_pattern != InfillPattern::ipHilbertCurve)){ gcode += toolchange ? m_writer.retract_for_toolchange() : m_writer.retract();