Skip to content

Dusty Manual

G-code

Save the G-code for your controller with flexible file names, open and replay a program, choose the flavor, arcs and post-processor options, and write custom blocks.

In this section

  • Saving the G-code

    Write the G-code for the active machine: a name format with tokens, one file per tool, sequence or operation, presets, output folder and all pages at once.

  • Opening and replaying G-code

    Open a .nc or .gcode file as is, read its colored text, wireframe view and summary, send it with the same checks as a Dusty job, or resume at a chosen line.

  • G-code flavors

    The fourteen controller dialects Dusty writes — GRBL, grblHAL, FluidNC, Smoothieware, Marlin, Duet, LinuxCNC, Mach3, MASSO and more — and how each one changes tools.

  • Arcs in the G-code

    How Dusty writes curves as G2 and G3 arcs within a curve tolerance, when it keeps segments, and how to turn arcs off for a machine that reads them poorly.

  • Post-processor options

    Adjust the flavor's G-code for your controller: tool change command, automatic tool changer, dwell units, comment style, escape character and verbose output.

  • Custom G-code

    Write your own G-code blocks for program start and end, tool change, spindle, coolant and vacuum, with variables, optional values and mode macros, checked as you type.

This manual is also built into Dusty: press F1, or open the Help menu, to read the topic for what you are doing. A mistake, a missing answer? Tell us

Try it in Dusty, for free.

Free CNC milling software: design, toolpaths and machine control. Mac, iPad, iPhone, Windows and Linux.