G-code: Difference between revisions

Content deleted Content added
No edit summary
m Add missing space
Line 28:
}}
 
'''G-code''' (also '''RS-274''') is the most widely-used [[computer numerical control]] (CNC) [[programming language]] and for [[3D printing]] It is used mainly in [[computer-aided manufacturing]] to control automated [[machine tool]]s, as well as a plug in play from a [[Slicer (3D printing)]] though Gcodes and has many variants.
 
G-code instructions are provided to a [[Programmable logic controller|machine controller]] (industrial computer) that tells the motors where to move, how fast to move, and what path to follow. The two most common situations are that, within a machine tool such as a [[Metal lathe|lathe]] or [[Milling (machining)|mill]], a [[cutting tool (machining)|cutting tool]] is moved according to these instructions through a toolpath cutting away material to leave only the finished workpiece and/or an unfinished workpiece is precisely positioned in any of up to nine axes<ref>Karlo Apro (2008). ''[https://books.google.com/books?id=Ws228Aht0bcC Secrets of 5-Axis Machining]''. Industrial Press Inc. {{ISBN|0-8311-3375-9}}.</ref> around the three dimensions relative to a toolpath and, either or both can move relative to each other. The same concept also extends to noncutting tools such as [[Forming (metalworking)|forming]] or [[Burnishing (metal)|burnishing]] tools, [[Gerber format|photoplotting]], additive methods such as [[3D printing]], and measuring instruments.