From 54cc6216a1870e2191807737527f8733bcc2d38b Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Mon, 17 Oct 2011 21:38:41 +0200 Subject: [PATCH] Bugfix: extrusion distance wasn't reset at print start, causing a possible huge retraction. --- lib/Slic3r/Print.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 4a80f834c..f6e230495 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -329,6 +329,7 @@ sub export_gcode { print $fh "$Slic3r::start_gcode\n"; print $fh "G90 ; use absolute coordinates\n"; print $fh "G21 ; set units to millimeters\n"; + print $fh "G92 E0 ; reset extrusion distance\n"; if ($Slic3r::use_relative_e_distances) { print $fh "M83 ; use relative distances for extrusion\n"; } else {