From adf65ceeb8df6bb00deab1ca1f317374666fe426 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Thu, 7 Sep 2023 22:08:58 +0800 Subject: [PATCH] wipe improvment --- src/libslic3r/GCode.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 1fc21b5a61..32a4c1aede 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -351,9 +351,7 @@ static std::vector get_path_of_change_filament(const Print& print) gcode += gcodegen.writer().set_speed(_wipe_speed * 60, "", cooling_mark); for (const Line& line : wipe_path.lines()) { double segment_length = line.length(); - /* Reduce retraction length a bit to avoid effective retraction speed to be greater than the configured one - due to rounding (TODO: test and/or better math for this) */ - double dE = length * (segment_length / wipe_dist) * 0.95; + double dE = length * (segment_length / wipe_dist); //BBS: fix this FIXME //FIXME one shall not generate the unnecessary G1 Fxxx commands, here wipe_speed is a constant inside this cycle. // Is it here for the cooling markers? Or should it be outside of the cycle?