<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Post processing G code for experimental X-Y setup?</title>
        <description> Having recently built my first repstrap based on a Prusa Mendel i2, I am now keen to explore an alternative arrangement for X and Y axes that will hopefully offer some advantages over the original.  This experiment will involve radically different equations for the X and Y movement.  

One approach I am considering is to retain my entire existing reprap and just mount the alternative bed on top of it&#039;s bed.  I will loose some Z capacity but it will be fine to test the concept.  Doing it this way, I would only need to buy two more steppers and simply swap the connections on the RAMPS for X and Y to do the testing (possibly using 4 way switches).  It would avoid the need to duplicate the rest of the hardware and I could readily revert to the original configuration as needed.

My question is - what is the best approach for coding?:  customising the firmware or post processing the G-code?  My new X-Y scheme will be computationally intensive so it may be a stretch to process it on Arduino in firmware.  I haven&#039;t even looked at what would be involved in changing the firmware so forgive me if this sounds daft.  Post processing the G-Code would allow me to revert to the PM i2 without having to also revert the firmware.  I am leaning towards post processing G code so that the firmware can remain unchanged.  Any thoughts and guidance would be appreciated.

Neil</description>
        <link>https://reprap.org/forum/read.php?147,298795,298795#msg-298795</link>
        <lastBuildDate>Sat, 10 Oct 2026 19:48:40 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?147,298795,317999#msg-317999</guid>
            <title>Re: Post processing G code for experimental X-Y setup?</title>
            <link>https://reprap.org/forum/read.php?147,298795,317999#msg-317999</link>
            <description><![CDATA[ Or get one of the ARM based controllers, then it will be no problem to do the transformations in the firmware. My <a href="https://github.com/ambrop72/aprinter" target="_blank"  rel="nofollow">APrinter</a> firmware runs on quite a few ARM based boards (Arduino Due, 4pi, Teensy 3), and it supports <a href="https://github.com/ambrop72/aprinter/tree/master/aprinter/printer/transform" target="_blank"  rel="nofollow">custom transforms</a>.]]></description>
            <dc:creator>ambrop7</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Sat, 01 Mar 2014 08:39:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,298795,315852#msg-315852</guid>
            <title>Re: Post processing G code for experimental X-Y setup?</title>
            <link>https://reprap.org/forum/read.php?147,298795,315852#msg-315852</link>
            <description><![CDATA[ Depends on how much. Delta bot translation has been done on RAMPS, it involves one trigonometric functions and segmenting a G1 into hundreds of line segments, so you get the idea.<br />
You could as well find all the #define DELTA and swap out the functions.]]></description>
            <dc:creator>sam0737</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Tue, 25 Feb 2014 08:42:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,298795,299023#msg-299023</guid>
            <title>Re: Post processing G code for experimental X-Y setup?</title>
            <link>https://reprap.org/forum/read.php?147,298795,299023#msg-299023</link>
            <description><![CDATA[ If its going to be computational, then I agree it should not run on the arduino (the firmware actually runs on the arduino, not on the RAMPS :) ).<br />
<br />
Anything run on the arduino is done in real time as you are printing.  G code post processing is done ahead of time.  If you have a choice of which way to go, I'd lot for the latter.]]></description>
            <dc:creator>jbernardis</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Wed, 22 Jan 2014 01:35:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?147,298795,298795#msg-298795</guid>
            <title>Post processing G code for experimental X-Y setup?</title>
            <link>https://reprap.org/forum/read.php?147,298795,298795#msg-298795</link>
            <description><![CDATA[ Having recently built my first repstrap based on a Prusa Mendel i2, I am now keen to explore an alternative arrangement for X and Y axes that will hopefully offer some advantages over the original.  This experiment will involve radically different equations for the X and Y movement.  <br />
<br />
One approach I am considering is to retain my entire existing reprap and just mount the alternative bed on top of it's bed.  I will loose some Z capacity but it will be fine to test the concept.  Doing it this way, I would only need to buy two more steppers and simply swap the connections on the RAMPS for X and Y to do the testing (possibly using 4 way switches).  It would avoid the need to duplicate the rest of the hardware and I could readily revert to the original configuration as needed.<br />
<br />
My question is - what is the best approach for coding?:  customising the firmware or post processing the G-code?  My new X-Y scheme will be computationally intensive so it may be a stretch to process it on Arduino in firmware.  I haven't even looked at what would be involved in changing the firmware so forgive me if this sounds daft.  Post processing the G-Code would allow me to revert to the PM i2 without having to also revert the firmware.  I am leaning towards post processing G code so that the firmware can remain unchanged.  Any thoughts and guidance would be appreciated.<br />
<br />
Neil]]></description>
            <dc:creator>n.glasson</dc:creator>
            <category>Firmware - experimental, borrowed, and future</category>
            <pubDate>Tue, 21 Jan 2014 15:22:03 -0500</pubDate>
        </item>
    </channel>
</rss>
