Plasma cut files for a GRBL controller, made in the browser
Import a DXF or SVG, trace a picture, or draw the part. CutArc adds kerf, lead-ins and cut order, then writes plain G-code that GRBL 1.1 accepts: M3 and M5 for the torch, G2 and G3 for arcs, and Z moves for pierce and cut height.
Nothing to install. Start designing without signing up; a free account generates and downloads G-code for personal use, 25 files a month. Plans
- 9
G21 ; Units: millimetersMillimetres here, or inches if you prefer - 10
G90 ; Absolute positioning - 11
G17 ; XY plane selection - 4 lines not shown
- 16
G0 X70 Y40Rapid to the 20 mm hole - 17
G0 Z3.8 ; Pierce height - 18
M3 S1000 ; Torch ONTorch fires - 19
G4 P0.5 ; Pierce delayPierce delay, in seconds - 20
G1 Z1.5 F1250 ; Cut height - 21
G3 X50 Y40 I-10 J0 F2500The hole, written as two half circles - 22
G3 X70 Y40 I10 J0 F2500 - 23
M5 ; Torch OFFTorch off - 24
G0 Z15 ; Safe heightLift clear before moving on - 2 lines not shown
- 27
G0 X55.9019 Y5.9019Four decimals, so the ends of arcs agree - 4 lines not shown
- 32
G1 X57.4019 Y8.5 F2500 ; Lead-in linearLead-in to the outline - 33
G2 X60 Y10 I2.5981 J-1.5 F2500 ; Lead-in arc - 10 lines not shown
- 44
M2 ; Program endProgram end
What GRBL accepts, and what CutArc writes
GRBL publishes the list of G-codes it supports. The left column is from that list and from GRBL's error codes. The right column is what the GRBL preset in CutArc puts in your file.
| GRBL 1.1 | CutArc writes |
|---|---|
Motion with G0, G1, G2 and G3 | Rapids, straight cuts and arcs with those four codes only |
| An arc whose end point does not fit its radius is refused: error 33, “Motion command target is invalid” | Coordinates to four decimals in millimetre and inch output, so the start and end of every arc agree |
Spindle control with M3 and M5 | M3 S1000 to fire the torch and M5 to stop it. You can change both in Controller |
Dwell with G4 | The pierce delay as G4 P, in seconds |
Units with G20 or G21, absolute distances with G90 | Both at the top of every file, in the units you choose |
Program end with M2 or M30 | M2 |
Probing with G38.2 | Not in this preset. The JDs Garage Z Axis and THC presets add a touch-off before every pierce |
Sources: the GRBL 1.1 list of supported G-codes and GRBL's error codes. Stock GRBL has no torch height control of its own, and this preset writes no height-control commands.
From a drawing to a file GRBL will run
The same five steps apply to any part. Try them first on something small.
Bring in the part
Import a DXF or SVG, trace a photo or logo, set lettering in a cutting font, or draw it with the shape tools. Check the size on the sheet before you go on.
Choose GRBL
Open Controller and pick GRBL. That sets
M3 S1000andM5for the torch and the.gcodefile extension. If your table is a JD's Garage build, use one of the JDs Garage presets instead.
The Controller panel with the GRBL preset selected. Enter your cut settings
Set the sheet, material and thickness. Then check feed rate, pierce delay, pierce and cut heights, kerf and lead-ins against the cut chart for your plasma cutter and consumables. Confirm that holes cut before the outline around them.
Generate, check and download
Generate the G-code. The design checks list anything that needs a look, and Preview G-code plays back the exact file you are about to download. Then download the
.gcodefile.Run it
Load the file in the sender you already use and check its size and origin against your material. Or connect the controller over USB and send the job from the editor, in Chrome or Edge on a computer. Do a dry run with the torch off before you cut.
How the GRBL output is checked
You are trusting a file with your torch and your material, so here is exactly what has been checked and what has not.
Checked on every change to CutArc
- 24 jobs are generated by the editor's own code with the GRBL preset and replayed through the unmodified GRBL 1.1h G-code parser. A file that parser rejects stops the release.
- Those jobs cover millimetre and inch drawings, millimetre and inch output, both cut directions, lead-ins and overcut.
- A real export that GRBL refused with error 33 is kept as a test, so that rounding problem cannot come back.
Not done yet
- These are software checks. A preset being in CutArc does not mean it was physically tested on your machine.
- There is no probing and no torch height control in this preset.
- CutArc does not know your cutter. Feed, heights and pierce delay come from your cut chart.
Where it fits
A GRBL table needs two things from software: a cut file, and something to send it. CutArc makes the cut file in a browser tab, from drawing or importing the part through kerf, lead-ins and cut order to the G-code. It can also send that file to the controller over USB, so a small table can run from one screen.
If you already have a CAM set-up you like, keep it. CutArc suits you if you start from a DXF, an SVG, a photo or some lettering and want a cut file without installing anything.
What it costs
The GRBL preset is in both plans.
Free
For personal use. The full design tools, DXF, SVG and image import, image trace, every controller preset, unlimited G-code generation and 25 G-code downloads a month.
Pro Commercial
Unlimited G-code downloads, SVG and DXF export, true-shape nesting, common-line and chain cutting, the desktop app, and a commercial license.
Questions
Which GRBL does this work with?
The output is checked against the GRBL 1.1h parser and uses only codes on GRBL 1.1's published list.
My table has no Z axis. Can I still use it?
Yes. Choose the preset called JDs Garage - Without Z Axis. It writes GRBL commands with no Z moves.
Can CutArc send the file to the machine?
Yes, over USB from Chrome or Edge on a computer: connect the controller, generate the G-code, then choose Send to Machine. You can also download the file and use your own sender.
Inches or millimetres?
Either. Draw in the units you like and choose the output units when you generate. Distances and feed rates are converted to match.
What file do I get?
A plain-text G-code file ending in .gcode. Open it in any text editor to read exactly what will run. You can pick another file extension in Controller.
What does it cost?
Designing and generating G-code is free for personal use, with 25 G-code downloads a month. Pro Commercial is $14.99 a month or $99.99 a year and adds unlimited downloads, SVG and DXF export, true-shape nesting and a commercial license.
Other controllers: Langmuir FireControl, JDs Garage, Mach3 and Mach4, StarFire, or every preset in CutArc.
Try it on a small part first
Draw a plate with one hole, pick your controller, and read the file before you cut anything.