Run G-Code in reverse?

783 views
Skip to first unread message

neeboy

unread,
Jul 25, 2012, 2:39:36 AM7/25/12
to milwaukee...@googlegroups.com
Before I get even more wound up....does anyone know if Mach 3 can run G-Code in reverse?  More specifically, when running one of my foam milling programs, could I start the G-Code from the end and run the program in reverse?  Are there any physical ramifications cutting-wise?
-MattN

Kevin Crowley

unread,
Jul 25, 2012, 2:43:36 AM7/25/12
to milwaukee...@googlegroups.com
It just puts everything back where it found it.

neeboy

unread,
Jul 25, 2012, 2:47:58 AM7/25/12
to milwaukee...@googlegroups.com
Har har....no share of the windfall profits 4 u mr sassy pants :p
-MattN

Kevin Crowley

unread,
Jul 25, 2012, 4:13:37 AM7/25/12
to milwaukee...@googlegroups.com
I will have you know that my pants have never sassed me.  I have them well trained and every day they stand in the corner patently waiting for me to put them on.

Tom Gralewicz

unread,
Jul 25, 2012, 9:31:22 AM7/25/12
to milwaukee...@googlegroups.com
I don't think you can run it in reverse, the statements selecting tool, speed, origin, etc.  are placed in order in the file.

I have found problems starting a g-code file in the middle since moves can be relative to the last position instead of absolute.

Tom
--
Tom Gralewicz
Miller Electronics Recycling
(414) 380-1716
www.deadcomputers.com

Jim Rawson

unread,
Jul 25, 2012, 9:34:31 AM7/25/12
to milwaukee...@googlegroups.com
In addition, you would be making the deeper cuts before the more shallow ones!


Pete Prodoehl

unread,
Jul 25, 2012, 9:36:10 AM7/25/12
to milwaukee...@googlegroups.com

Aren't g-code files just sets of commands, one per line, in a text file?

Seems like you could write some code to reverse things, leaving alone
the bits that need to be left alone.


Pete
> www.deadcomputers.com <http://www.deadcomputers.com>

Jim Rawson

unread,
Jul 25, 2012, 9:41:07 AM7/25/12
to milwaukee...@googlegroups.com
Or you could try this ...

Reverse.JPG

Matt Czapar

unread,
Jul 25, 2012, 9:43:57 AM7/25/12
to milwaukee...@googlegroups.com
One thing to think about too, is that the inside vs. outside cuts are done in different directions (Clockwise vs. Counter-Clockwise).  I'm given to understand it is to leave the cleanest edge on the side that you want.  So, if you do run it backwards, it may effect negative change in the end result.

the_digital_dentist

unread,
Jul 25, 2012, 10:50:21 PM7/25/12
to milwaukee...@googlegroups.com
Now I'm thinking about a 3D printer that would run G-code in reverse and deposit material on an item previously carved by a CNC router to reconstruct to the block from which it was originally carved.   The applications boggle the mind!
Reply all
Reply to author
Forward
0 new messages