mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-09 18:27:00 +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
|
methods even if we performed wipe, since this will ensure the entire retraction
|
||||||
length is honored in case wipe path was too short. */
|
length is honored in case wipe path was too short. */
|
||||||
|
|
||||||
// Snapmaker U1
|
// // Snapmaker U1
|
||||||
std::string printer_model = this->m_curr_print->m_config.printer_model.value;
|
// std::string printer_model = this->m_curr_print->m_config.printer_model.value;
|
||||||
if (printer_model == "Snapmaker U1" && toolchange) {
|
// if (printer_model == "Snapmaker U1" && toolchange) {
|
||||||
gcode += "M400\n";
|
// gcode += "M400\n";
|
||||||
}
|
// }
|
||||||
if ((!this->on_first_layer() || this->config().bottom_surface_pattern != InfillPattern::ipHilbertCurve) &&
|
if ((!this->on_first_layer() || this->config().bottom_surface_pattern != InfillPattern::ipHilbertCurve) &&
|
||||||
(role != erTopSolidInfill || this->config().top_surface_pattern != InfillPattern::ipHilbertCurve)){
|
(role != erTopSolidInfill || this->config().top_surface_pattern != InfillPattern::ipHilbertCurve)){
|
||||||
gcode += toolchange ? m_writer.retract_for_toolchange() : m_writer.retract();
|
gcode += toolchange ? m_writer.retract_for_toolchange() : m_writer.retract();
|
||||||
|
|||||||
Reference in New Issue
Block a user