Formats / Machining and metrology

G-code

Low-level machine motion program; every CAM post-processor ends here, in a controller-specific dialect.

Extensions
.nc .gcode .tap
Kind
Machining and metrology
Standard
ISO 6983 / RS-274
Steward
ISO (with many machine dialects)
Specification
Openly documented
First published
1960

Loading the example...

A single profile pass (ISO/Fanuc-style G-code) around the 60 x 40 mm bracket base with a 6 mm cutter offset. Illustrative, not post-processed for a specific machine. CC0-1.0.

Who reads and writes it 15

1 read it, 14 write it, 0 do both.

ToolCategoryReadsWrites
Autodesk Fusion CAD Yes
CAMWorks CAM and additive Yes
Cimatron CAM and additive Yes
Edgecam CAM and additive Yes
ESPRIT CAM CAM and additive Yes
GibbsCAM CAM and additive Yes
hyperMILL CAM and additive Yes
Inventor CAM (HSM) CAM and additive Yes
Mastercam CAM and additive Yes
PowerMill CAM and additive Yes
PrusaSlicer CAM and additive Yes
SolidCAM CAM and additive Yes
UltiMaker Cura CAM and additive Yes
VERICUT CAM and additive Yes
WORKNC CAM and additive Yes

Example files 2

  • bracket-profile.nc 294 B

    A single profile pass (ISO/Fanuc-style G-code) around the 60 x 40 mm bracket base with a 6 mm cutter offset. Illustrative, not post-processed for a specific machine.

    Origin
    Made for this site, scripts/gen_examples.py with hand-written
    License
    CC0-1.0. Drawn for the engineering map; no rights reserved.
    SHA-256
    7dab73cc2d636d36c3e549b12b320274dff37e8977622cecdd879db01371a821
  • square-print.gcode 846 B

    3D printer G-code (FDM) for a 20 x 20 mm square, two layers: heater and homing commands, then moves with E (extruded filament) values. Hand-written, illustrative.

    Origin
    Made for this site, scripts/gen_examples.py with hand-written
    License
    CC0-1.0. Drawn for the engineering map; no rights reserved.
    SHA-256
    c04e6647452c43a1d9cf075c76618cf6f740d44ccc226ae6a28de0df3e101e65

Sources

As of 2026-11-21.

Something wrong or out of date? Edit this record or report a problem.