Login

or
don't have an account?
back to glossary

G-code

maker

A programming language used for controlling CNC machines and 3D printers.

expanded

G-code is a standard language used to control automated machine tools such as CNC mills, lathes, and 3D printers. It consists of a series of commands that instruct machines on operations like movement, speed, and toolpath, crucial for precision manufacturing and prototyping. Its implementation is central to translating digital designs into physical objects with exact dimensions.

examples

Fabrication of a component with dimensions 100 mm x 50 mm x 10 mm using a CNC milling machine.

G-code is used to guide CNC machines like the HAAS VF-2 during milling operations in the automotive industry.

3D printing a structural part with a layer height of 0.2 mm and a print speed of 40 mm/s.

Commonly employed in Fused Deposition Modeling (FDM) 3D printers such as the Ultimaker S5 for rapid prototyping.