<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>What the retract g-code command?</title>
        <description> I want to add a small retract to the end of my prints since my machine ends up spitting out a bit of material after the end of prints. I figure a 1-3mm retract at the end would prevent this.

Thanks!</description>
        <link>https://reprap.org/forum/read.php?1,169886,169886#msg-169886</link>
        <lastBuildDate>Sat, 13 Jun 2026 12:12:19 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,169886,170067#msg-170067</guid>
            <title>Re: What the retract g-code command?</title>
            <link>https://reprap.org/forum/read.php?1,169886,170067#msg-170067</link>
            <description><![CDATA[ Mine moves out of the way (x home) and the ooze is not ruining any prints. I just wanted to at least slow it down as I end up with a little spring shaped pile under the nozzle and just thought if I did a small retract it would be much less. <br />
<br />
Just trying to fine tune things not solve a real issue.]]></description>
            <dc:creator>tmorris9</dc:creator>
            <category>General</category>
            <pubDate>Thu, 06 Dec 2012 20:20:01 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,169886,169968#msg-169968</guid>
            <title>Re: What the retract g-code command?</title>
            <link>https://reprap.org/forum/read.php?1,169886,169968#msg-169968</link>
            <description><![CDATA[ Homing z down automatically at the end of a print will end up a catastrophe with the x-gantry design like on a Mendel-type frame. Unless you print at the far end of the bed or have done some custom changes to the design, it is definitively not recommended.<br />
<br />
If you have some space to spare on either side of the bed, printing a bucket-attachment that clips under the x-ends is a better solution. But the nozzle will ooze if you leave the it heated and idle.]]></description>
            <dc:creator>Nudel</dc:creator>
            <category>General</category>
            <pubDate>Thu, 06 Dec 2012 06:23:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,169886,169920#msg-169920</guid>
            <title>Re: What the retract g-code command?</title>
            <link>https://reprap.org/forum/read.php?1,169886,169920#msg-169920</link>
            <description><![CDATA[ This is the correct function, but you have to reset it since most of the time it is in relative mode.  Then you would extruder only as the last line of the printout, not set from a program like slicer (you don't want it everywhere).<br />
<br />
Retracting at the end of printing makes sense to slow down ooze, but it won't solve it.  The perfect solution (unless you have a print = the max limit of the print bed)   G01X100,  G01Y100, and  G01Z0.   This moves the nozzle out of the way in the XY, then puts the nozzle on the bed flat, so there is too much resistance to oozing.]]></description>
            <dc:creator>Simba</dc:creator>
            <category>General</category>
            <pubDate>Wed, 05 Dec 2012 22:57:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,169886,169915#msg-169915</guid>
            <title>Re: What the retract g-code command?</title>
            <link>https://reprap.org/forum/read.php?1,169886,169915#msg-169915</link>
            <description><![CDATA[ So is it the G1 E-2 that retracts? and if so is the -2 =2mm?<br />
<br />
My extruder already goes to x home, so not sure what the G92 E0 would do. Sorry new to G code so don't all the commands.]]></description>
            <dc:creator>tmorris9</dc:creator>
            <category>General</category>
            <pubDate>Wed, 05 Dec 2012 22:02:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,169886,169888#msg-169888</guid>
            <title>Re: What the retract g-code command?</title>
            <link>https://reprap.org/forum/read.php?1,169886,169888#msg-169888</link>
            <description><![CDATA[ Add a G92 E0 to reset the extruder axis to zero, then a G1 E-2.  So just add the following two lines to the end.gcode of your slicer:<br />
<br />
G92 E0<br />
G1 E-2]]></description>
            <dc:creator>NewPerfection</dc:creator>
            <category>General</category>
            <pubDate>Wed, 05 Dec 2012 18:21:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,169886,169886#msg-169886</guid>
            <title>What the retract g-code command?</title>
            <link>https://reprap.org/forum/read.php?1,169886,169886#msg-169886</link>
            <description><![CDATA[ I want to add a small retract to the end of my prints since my machine ends up spitting out a bit of material after the end of prints. I figure a 1-3mm retract at the end would prevent this.<br />
<br />
Thanks!]]></description>
            <dc:creator>tmorris9</dc:creator>
            <category>General</category>
            <pubDate>Wed, 05 Dec 2012 18:13:45 -0500</pubDate>
        </item>
    </channel>
</rss>
