When making g-code for any CNC machine, there will come a time where you’ll click the final button to “Generate g-code”. Doing so, how will you know that the g-code file is going to be properly suited to your particular CNC? Though many CNCs are able to interpret what’s broadly known as ‘g-code’, the reality is that different manufacturers have their own quirks that their machines expect to see; you can think of this as g-code being the primary language while different CNCs speak with dialects or accents. For the LongMill and many other hobby CNCs, this dialect is known as “grbl”.
This is where post processing comes in. A ‘post processor’ is simply a set of rules that can be followed to add tweaks to the main g-code and ensure it’ll work for particular machines. If the post processor isn’t selected or set up correctly this will usually result in errors, stalls, or unexpected behaviour while running your jobs.
To help out, we’ve put together a simple table which shows popular CAM programs and their LongMill-compatible post processors. Some CAM programs may not have post processor options since they’re already designed for hobby CNC use.
Note that: even if you design in inches, you’ll usually want to export files in millimeters since CNCs are most comfortable with those
CAM Software | Post Processor |
Vectric Cut2D, Vectric VCarve, Vectric Aspire | grbl (mm). Newer versions of Vectric may come with a default “LongMill” option. |
Carveco Maker, Carveco Maker+ | UGS grbl |
Fusion 360 | grbl** |
Easel, Easel Pro | No selection required |
Carbide Create | grbl |
CAMLab | No selection required |
Estlcam | No selection required |
FreeCAD | grbl (mm) |
BobCAD/CAM | Custom: https://forum.sienci.com/t/CAD-cam-software-post-processors/436/3 |
Inventor CAM | grbl (mm) |
**To avoid potential issues with Fusion 360, we also recommend you make the following checks to your post processor:
- Change the ‘Safe Retracts‘ to βClearance Heightβ and NOT βG28β. It will be obvious that you have this on if you don’t have limit switches or forget to home your machine and at the start of the job your bit plunges suddenly really deep into your material.
- Output M6 set as “No” (unless you plan to set up tool changing)
- Output Tool Number set as “No” (unless you plan to set up tool changing)
If you’re interested, there have also been instances of LM community members putting their own post processors to download. Some examples include:
- Chris B: https://www.facebook.com/groups/mill.one/permalink/1053271605144170/
- Duane S: https://www.facebook.com/groups/mill.one/permalink/1122661888205141/
Fun fact: some other members of the grbl CNC family include OpenBuilds, Shapeoko, BobsCNC and X-Carve – all starting just as the LongMill has from an Arduino Uno.