G-Code Splitting Project

Split G-Code
Split G-Code

I am working on a new program (Python script) that can split an existing g-code file into two halves.  This will allow users to take a file run half of the file then rotate the work piece 180 degrees then cut the second half.  This will effectively allow a user to cut designs twice as large as the cutting area of the machine. (As long as the physical rotation is done accurately).

A significant portion of this project is writing the g-code interpreter.  The interpreter is the code to read and understand the g-code input.  With the g-code interpreter is written other g-code bending operations can be performed. Similar to what CNCWrapper (http://www.cncwrapper.com/) does.  In fact wrapping g-code around the A-axis may be a future project.

Share: