I have posted a new program one my web page called G-Code Ripper that can read an existing g-code file and scale, rotate and split the g-code as needed.

This program takes an existing g-code file and splits it into two halves. Linear and arc movements are broken into smaller lines and arcs on either side of the parting line. The attached pictures show a design that I cut using the program. I used the splitting and rotation features to allow my small CNC machine to cut a larger image. The smaller eagle in the last picture is the largest eagle I could cut on my machine without splitting the image.

In addition to the basics the program understands the following g-code features:
• Reads "Absolute" and "incremental" coordinates
• Evaluates expressions (i.e. [2*3])
• Understands parameters (i.e. #1,#2 and #)
• Understands and interprets YZ and ZX arcs (converted to linear motions for compatibility with splitting and rotation)

Attachment 196010Attachment 195996Attachment 196004

Scorch