mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-21 19:33:26 +00:00
Delete: M400 for U1 when changing tools (#56)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user