diff options
author | bubnikv <bubnikv@gmail.com> | 2017-12-14 11:50:38 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-12-14 11:50:38 +0300 |
commit | cdab27d337e13d9f4e051caa4a76154cf49048e6 (patch) | |
tree | f6af24c4bbfeee4038004fed0978742198b6c55f /xs/src/libslic3r | |
parent | d30c154e796013133d3e2eb0a666687cb964285e (diff) |
Enabled a long wipe when moving away from the wipe tower
to reduce stringing.
Diffstat (limited to 'xs/src/libslic3r')
-rw-r--r-- | xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp index b81a8b04b..858845e3d 100644 --- a/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp +++ b/xs/src/libslic3r/GCode/WipeTowerPrusaMM.cpp @@ -579,7 +579,8 @@ WipeTower::ToolChangeResult WipeTowerPrusaMM::tool_change(unsigned int tool, boo .extrude(box.ld, 3200).extrude(box.rd) .extrude(box.ru).extrude(box.lu); // Wipe the nozzle. - if (purpose == PURPOSE_MOVE_TO_TOWER_AND_EXTRUDE) + //if (purpose == PURPOSE_MOVE_TO_TOWER_AND_EXTRUDE) + // Always wipe the nozzle with a long wipe to reduce stringing when moving away from the wipe tower. writer.travel(box.ru, 7200) .travel(box.lu); } else @@ -686,8 +687,9 @@ WipeTower::ToolChangeResult WipeTowerPrusaMM::toolchange_Brim(Purpose purpose, b // Move to the front left corner. writer.travel(wipeTower_box.ld, 7000); - if (purpose == PURPOSE_MOVE_TO_TOWER_AND_EXTRUDE) + //if (purpose == PURPOSE_MOVE_TO_TOWER_AND_EXTRUDE) // Wipe along the front edge. + // Always wipe the nozzle with a long wipe to reduce stringing when moving away from the wipe tower. writer.travel(wipeTower_box.rd) .travel(wipeTower_box.ld); @@ -1004,8 +1006,10 @@ WipeTower::ToolChangeResult WipeTowerPrusaMM::finish_layer(Purpose purpose) .extrude(fill_box.rd + xy(- m_perimeter_width, m_perimeter_width)); } - if (purpose == PURPOSE_MOVE_TO_TOWER_AND_EXTRUDE) + // if (purpose == PURPOSE_MOVE_TO_TOWER_AND_EXTRUDE) + if (true) // Wipe along the front side of the current wiping box. + // Always wipe the nozzle with a long wipe to reduce stringing when moving away from the wipe tower. writer.travel(fill_box.ld + xy( m_perimeter_width, m_perimeter_width / 2), 7200) .travel(fill_box.rd + xy(- m_perimeter_width, m_perimeter_width / 2)); else |