<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>End code</title>
        <description> I&#039;m looking for an extra line of Gcode to add to my end. code file that will retract the filament as soon as the print is finished before the  nozzle lifts away from the print. As at the moment I get a bit of a bump from nozzle ooze at the end which isn&#039;t helping my finished top layer.

Just having a look through some existing Gcode and I think it uses G1 F960 as the retraction would that be correct? I have highlighted the line in my end code in Red that I was hoping would solve this issue but it doesn&#039;t



G91
G1 F70
G1 E-10 F30000 ;suck the filament back quickly to stop ooze #this line doesn&#039;t seem to work
G1 Z7 F70 ;lifts nozzle 7mm from finished print surface
G1 F2300
G1 X-10 Y100 F2300 ;moves bed out for easy job removal
G90
M104 S0 ;turns extruder off</description>
        <link>https://reprap.org/forum/read.php?154,91783,91783#msg-91783</link>
        <lastBuildDate>Mon, 13 Apr 2026 01:39:09 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,92752#msg-92752</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,92752#msg-92752</link>
            <description><![CDATA[ Seems to work thanks won't know until I make a print though]]></description>
            <dc:creator>NelsonRap</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Tue, 02 Aug 2011 19:34:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,92751#msg-92751</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,92751#msg-92751</link>
            <description><![CDATA[ Skeinforge strips out E only G1 moves from the start and end .gcode files.  To work around this you can follow the procedure in [<a href="http://forums.reprap.org/read.php?154,72899,73063#msg-73063" target="_blank"  rel="nofollow">forums.reprap.org</a>]]]></description>
            <dc:creator>jv4779</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Tue, 02 Aug 2011 19:24:05 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,92638#msg-92638</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,92638#msg-92638</link>
            <description><![CDATA[ Hmm interesting thought as all the other lines appear ok but will give it a go]]></description>
            <dc:creator>NelsonRap</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Mon, 01 Aug 2011 19:01:37 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,92636#msg-92636</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,92636#msg-92636</link>
            <description><![CDATA[ Do a search of your computer for the name of your end.gcode . I know on my system (ubuntu 10.10) I have a hidden .skeinforge folder which has a copy of it and its also in the ReplicatorG folder. If you find more than one copy delete the extra ones and try regenerating the code.]]></description>
            <dc:creator>Sublime</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Mon, 01 Aug 2011 19:00:17 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,92632#msg-92632</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,92632#msg-92632</link>
            <description><![CDATA[ Just been looking through my Gcodes and have changed my end code to <br />
<br />
G91<br />
G1 F70<br />
<span style="color:#FF0033">G1 E-15 F30 ;suck the fillament back quickly to stop ooze</span><br />
G1 Z7 F70 ;lifts nozzle 7mm from finished print surface<br />
G1 F2300<br />
G1 X-10 Y100 F2300 ;moves bed out for easy job removal<br />
G90<br />
M104 S0 ;turns extruder off<br />
<br />
but for some reason SF41 will not put the line of code highlighted in red in. Not one of my sets of Gcode have that line yet it is in my end file]]></description>
            <dc:creator>NelsonRap</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Mon, 01 Aug 2011 18:34:08 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,91970#msg-91970</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,91970#msg-91970</link>
            <description><![CDATA[ Are you using Absolute or Relative Extrusion Distance in the Dimension settings? I use absolute. Your start.gcode will have G90 in it for absolute. Your end.gcode switches to relative to do your final moves; G91 (relative) then back to G90 (absolute) at the end. Without these, the line "G1 Z7 F70 ;lifts nozzle 7mm from finished print surface" would send the Z axis to 7mm, crashing it through the print if the print was higher than 7mm.<br />
<br />
I agree with Sublime, your speed is probably too high. I'm using Skeinforge 41 and have a final retraction with feed rate of F3000, though I do it like this using absolute positioning, and don't raise the head:<br />
<br />
G92 E0                    ;reset extruder home<br />
G1 E-10 F3000        ;retract to avoid ooze<br />
G92 E0                    ;reset extruder home<br />
G1 X0 Y0 F4000.0  ;move to X Y home<br />
M104 S0.0              ;Heater off]]></description>
            <dc:creator>droftarts</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Tue, 26 Jul 2011 06:48:48 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,91929#msg-91929</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,91929#msg-91929</link>
            <description><![CDATA[ Sublime Wrote:<br />
-------------------------------------------------------<br />
&gt; G1 E-10 F30000 ;suck the filament back quickly to<br />
&gt; stop ooze<br />
&gt; <br />
&gt; This should work except it is faster than your<br />
&gt; machine will move. 30000mm/m / 60 = 500mm/s so try<br />
&gt; something like:<br />
&gt; <br />
&gt; G1 E-10 F300 ;suck the filament back quickly to<br />
&gt; stop ooze<br />
<br />
My thinking was leading me towards the speed being the issue, I'm going to reduce this substantially tomorrow and see what happens]]></description>
            <dc:creator>NelsonRap</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Tue, 26 Jul 2011 00:46:12 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,91925#msg-91925</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,91925#msg-91925</link>
            <description><![CDATA[ G1 E-10 F30000 ;suck the filament back quickly to stop ooze<br />
<br />
This should work except it is faster than your machine will move. 30000mm/m / 60 = 500mm/s so try something like:<br />
<br />
G1 E-10 F300 ;suck the filament back quickly to stop ooze]]></description>
            <dc:creator>Sublime</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Tue, 26 Jul 2011 00:33:16 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,91924#msg-91924</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,91924#msg-91924</link>
            <description><![CDATA[ If you're using SF with retract option then you don't need to add this retract code at the end of the print. Just move the bed away from the carrage towards you by either homing the y axis (G28 Y0) or sending it in the opposite direction (G1 Y190.0 F2000.0) depending on how your Mendel is configured. I think this works better than lifting the nozzle which leaves more bump on the top layer.]]></description>
            <dc:creator>brnrd</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Tue, 26 Jul 2011 00:33:01 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,91917#msg-91917</guid>
            <title>Re: End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,91917#msg-91917</link>
            <description><![CDATA[ Anyone able to help?]]></description>
            <dc:creator>NelsonRap</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Mon, 25 Jul 2011 23:46:32 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?154,91783,91783#msg-91783</guid>
            <title>End code</title>
            <link>https://reprap.org/forum/read.php?154,91783,91783#msg-91783</link>
            <description><![CDATA[ I'm looking for an extra line of Gcode to add to my end. code file that will retract the filament as soon as the print is finished before the  nozzle lifts away from the print. As at the moment I get a bit of a bump from nozzle ooze at the end which isn't helping my finished top layer.<br />
<br />
Just having a look through some existing Gcode and I think it uses G1 F960 as the retraction would that be correct? I have highlighted the line in my end code in Red that I was hoping would solve this issue but it doesn't<br />
<br />
<br />
<br />
G91<br />
G1 F70<br />
G1 E-10 F30000 ;suck the filament back quickly to stop ooze <span style="color:#FF0000">#this line doesn't seem to work</span><br />
G1 Z7 F70 ;lifts nozzle 7mm from finished print surface<br />
G1 F2300<br />
G1 X-10 Y100 F2300 ;moves bed out for easy job removal<br />
G90<br />
M104 S0 ;turns extruder off]]></description>
            <dc:creator>NelsonRap</dc:creator>
            <category>Skeinforge</category>
            <pubDate>Mon, 25 Jul 2011 00:38:54 -0400</pubDate>
        </item>
    </channel>
</rss>
