diff --git a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp index fdfd8752f6..2e3e7c0a7a 100644 --- a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp +++ b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp @@ -841,14 +841,17 @@ void WipeTowerPrusaMM::toolchange_Unload( .ram(xl + m_perimeter_width * 2, xr - m_perimeter_width * 2, y_step * 1.2f, e0, 1.74f * e, 5200); }*/ } - // Pull the filament end into a cooling tube. - writer.retract(15, 5000).retract(50, 5400).retract(15, 3000).retract(12, 2000); + // Pull the filament end into a cooling tube (Alex) + //writer.retract(15, 5000).retract(50, 5400).retract(15, 3000).retract(12, 2000); + + // Pull the filament end to the BEGINNING of the cooling tube + writer.retract(15, 5000).retract(m_cooling_tube_retraction+m_cooling_tube_length/2.f-42, 5400).retract(15, 3000).retract(12, 2000); + if (new_temperature != 0) // Set the extruder temperature, but don't wait. writer.set_extruder_temp(new_temperature, false); // cooling: - writer.retract(2, 2000); writer.suppress_preview(); writer.travel(writer.x(), writer.y() + y_step); const float start_x = writer.x(); @@ -860,9 +863,10 @@ void WipeTowerPrusaMM::toolchange_Unload( i = 0; while (isidetext = _L("mm"); def->cli = "cooling_tube_retraction=f"; def->min = 0; - def->default_value = new ConfigOptionFloat(0); + def->default_value = new ConfigOptionFloat(91.5f); def = this->add("cooling_tube_length", coFloat); def->label = _L("Cooling tube length"); @@ -185,7 +185,7 @@ PrintConfigDef::PrintConfigDef() def->sidetext = _L("mm"); def->cli = "cooling_tube_length=f"; def->min = 0; - def->default_value = new ConfigOptionFloat(0); + def->default_value = new ConfigOptionFloat(5.f); def = this->add("default_acceleration", coFloat); def->label = _L("Default"); @@ -970,7 +970,7 @@ PrintConfigDef::PrintConfigDef() def->sidetext = _L("mm"); def->cli = "parking_pos_retraction=f"; def->min = 0; - def->default_value = new ConfigOptionFloat(0); + def->default_value = new ConfigOptionFloat(92.f); def = this->add("perimeter_acceleration", coFloat); def->label = _L("Perimeters");