What is a .G file?
The .g extension is shared by CNC/3D-printing G-code and BRL-CAD geometry databases.
BRL-CAD geometry
- What it is
- A BRL-CAD .g geometry database - solid models from the US Army's open-source CAD system. Analyser identifies it.
- How to tell it apart
- A BRL-CAD database is binary with a v4/v5 header.
- Did you know
- BRL-CAD has been developed by the US Army Research Laboratory since 1979, making it one of the oldest continuously maintained CAD systems in the world.
- BRL-CAD models solids with constructive solid geometry, building complex shapes by adding and subtracting primitives such as spheres, cones and boxes.
- Built originally to model vehicles for the Army's ballistic and weapons-effectiveness analysis, BRL-CAD was released as open source in 2004.
G-code
- What it is
- A CNC / 3D-printing G-code program. Analyser reconstructs and visualises the toolpath.
- How to tell it apart
- G-code is text full of G and M commands.
- Did you know
- The same G-code language drives 3D printers and CNC mills, but a printer reads each move as extrusion where a mill reads it as cutting.
- G-code was standardised by the Electronic Industries Alliance as RS-274 in the 1960s, having grown out of numerical-control research at MIT.
- Alongside the G (geometry) commands, the language uses M (miscellaneous) codes for machine actions like switching the spindle or coolant on and off.
- Open a .G file
- Drag a .G file onto the Analyser home page (or tap to pick one). It opens entirely in your browser - nothing is uploaded, there is no account, and it works offline once installed.