Back on topic, You do present an good question to understand how gcode
works now that we know what you intended to do.
If we look back to the days of DC extruder motors, the gcode was much
simpler. We couldn't run acceleration (BTW something you cannot do
when milling, you need constant fed rates), the old PWM commands for
the extruder were simply on/off after the initial setting the PWM rate
in the start.gcode. In that case, reversing the lines of gcode should
actually work. There was just a lot less to deal with and gcode in
gneral was much simpler. It was just sseries of movements, way less
comments, and way less extruder commands that don't matter.
The issue then is, you must run without acceleration, something the
newer firmware has. You can turn it off and in theory run straight
feedrates. We don't care at all about E numbers for the extruder, it
doesn't matter, we aren't using them. With a mill, you simply turn the
cutter on manually anyway at the start and let it run until finished.
So really, trying an older version of Rep-G like say older than
version 23 with SF classic desingned for DC extruders would create
suitable gcode. THe problem is, the machine.xml and the profile for SF
are not going to be able to connect to a bot that didn't exist back
then.
Going to the PCB creation I linked, you would be creating the gcode
external anyway via the plugin for Eagle CAD, and then printing it
with rep-g so no need for reversal of the lines. Just ensure
accelleration is off in the firmware.
And now for a gentle scolding. One reason I was midly annoyed was you
intentionally had an idea and didn't want to share it but wanted help.
MakerBot and this group was founded on sharing of ideas (AKA Open
Source). Some of us are really hacked off at MakerBot industries and
the CEO Bre Pettis who pledged Open source and preached it, but then
closed the source on your very Replicator-2. This prevents us from
being able to engineer fixes for that machine from a community of
owners. In other words, we have invested time and money into this
hobby and have shared a huge amount of knowledge freely but then
others are not willing to share. In the future, please take this into
perspective and share your ideas up front. It helps us a give a better
answer and it highly improbable that you came up with something that
hasn't been tried before. Sure, you added a twist that it was on a
Replicator 2, but that also means there have been a number of changes/
technology (acceleration for one) to actually hinder what you are/
were trying to do. Again, for you to have an idea and hold it back but
still want our help as if you might somehow make money on the idea is
somewhat rude. You should share openly. We would give you credit,
that's part of the rules of open source. It doesn't mean you lose all
rights to it, it just means you share in full disclosure since you
needed our source to get your product/idea to work.