3 Attachment(s)
G-Code Ripper - Scale, Rotate and Split G-code
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 #<feed_rate>)
• Understands and interprets YZ and ZX arcs (converted to linear motions for compatibility with splitting and rotation)
Attachment 196010Attachment 195996Attachment 196004
Scorch
G-Code Wrapping now available in G-Code Ripper
G-Code Ripper version 0.03 has been posted to the G-Code Ripper Homepage. The new version has more plotting options including more isometric view angles. The big addition in this version is the ability to map g-code from the X or Y axis to a rotary axis A or B. This functionality is very similar to CNCWrapper.
G-Code Ripper: G-Code Wrapping Features
-Graphical preview of the resulting g-code.
-Automatically maps g-code arcs to linear movements prior to conversion to rotary moves.
-Options for scaling feed rates to make them compatible with the rotary movements.
-Interpret g-code variables and equations.
-G-code Rippers basic features can also be used to scale and rotate the g-code before wrapping the code for the rotary axis.
Re: G-Code Ripper - Scale, Rotate and Split G-code
I just released a new version of G-Code Ripper (V0.6). I added another option to add probing to the G-Code file. Using the "Auto Probe" function you can load a g-code file then G-Code Ripper will define a grid of probe points. Then G-Code Ripper will write a new g-code file with added code for performing probe operation on the stock material and then adjust the tool paths to follow the stock material surface profile. This is great for adding designs to curved surfaces.
Get the new version here G-Code Ripper
If you think you need an expensive or complex probe for this to work, think again. I put some links and a video in a BLOG post to help explain the minimum requirements and concept.
3 Attachment(s)
G-Code Ripper - Scale, Rotate and Split G-code
Software works great!!
Instead of building a touch probe, I bought a Mitutoyo Touch Signal Inspection Probe model 192-001 on eBay for $7. I cut off the original wire harness and soldered a wire to the circuit board that connects to the internal touch probe switch. The wire then connects to the mach3 probe input pin.
Here is the setup I used to test cut a circle on a slanted piece of wood.
Attachment 245656
Attachment 245658
Attachment 245660
Thanks Scorchworks!!