Formats / Machining and metrology
G-code
Low-level machine motion program; every CAM post-processor ends here, in a controller-specific dialect.
Show on the mapInterop matrixInside the file, full width
- 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...
Who reads and writes it 15
1 read it, 14 write it, 0 do both.
| Tool | Category | Reads | Writes |
|---|---|---|---|
| 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.
- 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.
Sources
As of 2026-11-21.
- official page: https://en.wikipedia.org/wiki/G-code
Something wrong or out of date? Edit this record or report a problem.