<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>How difficult would it be......</title>
        <description> to add new axes to the G1,G3,etc commands?  Essentially, I would like to experiment with printing in grayscale with white and black filament using a switching extruder.  
I found a fairly simple way to modify existing gcode to be capable of printing in grayscale before realizing that currently Sprinter handles multiple extruders with the Tn gcode command; in order to achieve my goal each En would have to have its own axis such as &quot;G1 X100 Y100 E[0]5 E[1]2&quot;.

Anywho, I am happy to sit down and do the work of adding the axes to my personal work via a hardware change, but it seems this feature as a gcode standard would be highly desirable as things progress, opening up possibilities for using full RGBA colors via a 6 point switching head without using specialised hardware.  So, has anyone investigated this/is anyone working on this/is this question completely moronic/does this already exist in some dark corner of Google?  Thanks!</description>
        <link>https://reprap.org/forum/read.php?1,587101,587101#msg-587101</link>
        <lastBuildDate>Fri, 14 Aug 2026 05:51:55 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,587101,587132#msg-587132</guid>
            <title>Re: How difficult would it be......</title>
            <link>https://reprap.org/forum/read.php?1,587101,587132#msg-587132</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Nomadfeet</strong><br />
So...<br />
T0:1<br />
G1 X100 Y100 E5:2<br />
T1:2:4<br />
G1 X150 Y150 E4:1:3<br />
would comply?  Thanks, couldn't find that answer in 2 hrs of searching.</div></blockquote>
<br />
Not quite. First you would have to define your tools, typically in the machine configuration file (config.g), like this:<br />
<br />
<pre class="bbcode">
M563 P0 H1:2 D0:1       ; tool 0 uses heaters 1 and 2 and extruder drives 0 and 1
M563 P1 H2:3:4 D1:2:3   ; tool 1 uses heaters 2,3,4 and extruder drives 1,2,3</pre>
<br />
Note that a heater or extruder drive can be shared between more than one tool. Then you can do:<br />
<br />
<pre class="bbcode">
T0
G1 X100 Y100 E5:2
T1
G1 X150 Y150 E4:1:3
</pre>]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Sat, 21 Nov 2015 10:27:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,587101,587111#msg-587111</guid>
            <title>Re: How difficult would it be......</title>
            <link>https://reprap.org/forum/read.php?1,587101,587111#msg-587111</link>
            <description><![CDATA[ So...<br />
T0:1<br />
G1 X100 Y100 E5:2<br />
T1:2:4<br />
G1 X150 Y150 E4:1:3<br />
would comply?  Thanks, couldn't find that answer in 2 hrs of searching.]]></description>
            <dc:creator>Nomadfeet</dc:creator>
            <category>General</category>
            <pubDate>Sat, 21 Nov 2015 09:22:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,587101,587104#msg-587104</guid>
            <title>Re: How difficult would it be......</title>
            <link>https://reprap.org/forum/read.php?1,587101,587104#msg-587104</link>
            <description><![CDATA[ RepRapFirmware already does this, using the command format G1 X100 Y100 E5:2. In this case, the first and second extruders associated with the currently-selected tool (as selected using a Tn command) would extrude 5 and 2mm of filament respectively.]]></description>
            <dc:creator>dc42</dc:creator>
            <category>General</category>
            <pubDate>Sat, 21 Nov 2015 09:01:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,587101,587101#msg-587101</guid>
            <title>How difficult would it be......</title>
            <link>https://reprap.org/forum/read.php?1,587101,587101#msg-587101</link>
            <description><![CDATA[ to add new axes to the G1,G3,etc commands?  Essentially, I would like to experiment with printing in grayscale with white and black filament using a switching extruder.  <br />
I found a fairly simple way to modify existing gcode to be capable of printing in grayscale before realizing that currently Sprinter handles multiple extruders with the Tn gcode command; in order to achieve my goal each En would have to have its own axis such as "G1 X100 Y100 E[0]5 E[1]2".<br />
<br />
Anywho, I am happy to sit down and do the work of adding the axes to my personal work via a hardware change, but it seems this feature as a gcode standard would be highly desirable as things progress, opening up possibilities for using full RGBA colors via a 6 point switching head without using specialised hardware.  So, has anyone investigated this/is anyone working on this/is this question completely moronic/does this already exist in some dark corner of Google?  Thanks!]]></description>
            <dc:creator>Nomadfeet</dc:creator>
            <category>General</category>
            <pubDate>Sat, 21 Nov 2015 08:39:10 -0500</pubDate>
        </item>
    </channel>
</rss>
