<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Code question</title>
        <description> I would like to add a piece of code to my slicing software (beginning code) and I am not sure how to do it properly.
What I want to do is add a line to print before the actual print starts. I want to do this so that the nozzle is fully primed before starting.
I can get the position right and extrude some filament, but the filament comes out in one go and then the line is drawn without the extruder pushing out more filament.
So what I need to know is how to draw a line, say 100mm long and deposit some filament down while it is drawing the line. I want to add this code to all files before they start the actual print, so I would need to add it at the beginning code section.

Anyone know how this is done?</description>
        <link>https://reprap.org/forum/read.php?1,312810,312810#msg-312810</link>
        <lastBuildDate>Wed, 14 Oct 2026 16:17:59 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,312810,312929#msg-312929</guid>
            <title>Re: Code question</title>
            <link>https://reprap.org/forum/read.php?1,312810,312929#msg-312929</link>
            <description><![CDATA[ Yes the skirt or brim option can work well with normal printing, but when using raft (Cura) it only allows a single perimeter loop around the print and if a part of that perimeter is missed it can cause the raft to lift where the perimeter is missing. That is why I want to run a line before starting the print.<br />
Many small items that are being printed together I like to put on a raft so that they don't come loose and then I loose the lot.]]></description>
            <dc:creator>regpye</dc:creator>
            <category>General</category>
            <pubDate>Wed, 19 Feb 2014 06:26:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,312810,312848#msg-312848</guid>
            <title>Re: Code question</title>
            <link>https://reprap.org/forum/read.php?1,312810,312848#msg-312848</link>
            <description><![CDATA[ The easy way to prime the extruder is to use the skirt option under skirt and brims. Set it for one layer. Usually, one loop is enough, but you can increase the number of loops if you need.]]></description>
            <dc:creator>brnrd</dc:creator>
            <category>General</category>
            <pubDate>Wed, 19 Feb 2014 01:27:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,312810,312836#msg-312836</guid>
            <title>Re: Code question</title>
            <link>https://reprap.org/forum/read.php?1,312810,312836#msg-312836</link>
            <description><![CDATA[ Yes I am aware of that, but what to add is the thing.<br />
I have auto bed leveling and the nozzle always starts at the front right hand side.<br />
I can take the nozzle down to the bed no problem, and then move the nozzle 100mm to the left before it starts to do the print.<br />
I would like it to extrude some filament on the way.  I tried to send some filament out just before the 100mm move, however the filament comes out and then the nozzle moves.<br />
What is happening at present with the prints is that the first few centimeters sometimes don't have any filament extruding when starting to print. If doing a perimeter around a print that is not so much of a problem, but if doing a raft it can mess up the raft where the perimeter is missing.]]></description>
            <dc:creator>regpye</dc:creator>
            <category>General</category>
            <pubDate>Wed, 19 Feb 2014 00:08:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,312810,312834#msg-312834</guid>
            <title>Re: Code question</title>
            <link>https://reprap.org/forum/read.php?1,312810,312834#msg-312834</link>
            <description><![CDATA[ You could just add the gcode for this in the slicing program,depending on which slicer you are using. Slic3r has the option.<br />
Edit: maybe i miss understood.. was my suggestion what you were asking how to do it?]]></description>
            <dc:creator>cat.farmer</dc:creator>
            <category>General</category>
            <pubDate>Tue, 18 Feb 2014 23:58:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,312810,312810#msg-312810</guid>
            <title>Code question</title>
            <link>https://reprap.org/forum/read.php?1,312810,312810#msg-312810</link>
            <description><![CDATA[ I would like to add a piece of code to my slicing software (beginning code) and I am not sure how to do it properly.<br />
What I want to do is add a line to print before the actual print starts. I want to do this so that the nozzle is fully primed before starting.<br />
I can get the position right and extrude some filament, but the filament comes out in one go and then the line is drawn without the extruder pushing out more filament.<br />
So what I need to know is how to draw a line, say 100mm long and deposit some filament down while it is drawing the line. I want to add this code to all files before they start the actual print, so I would need to add it at the beginning code section.<br />
<br />
Anyone know how this is done?]]></description>
            <dc:creator>regpye</dc:creator>
            <category>General</category>
            <pubDate>Tue, 18 Feb 2014 21:38:03 -0500</pubDate>
        </item>
    </channel>
</rss>
