Guide · 4 min read
AI in CNC machining: what's practical today, and what isn't
Generative design, chatbot-written G-code, machine assistants and tool-wear monitoring: what the software makers and published studies show each can and can't do.
"AI" gets attached to a lot of CNC products and videos, and it covers very different things. Some of it is a working feature in software you can use today, some is research, and some can wreck a part if you trust it. This guide sticks to what software makers document and what published studies found, and says which is which.
1. Generative design: letting software propose the shape
Wikipedia describes generative design as "an iterative design process that uses software to generate outputs that fulfill a set of constraints". You set the loads, the fixed points and the space a part has to fit in, and the software proposes shapes. The same article notes that "Artificial intelligence (AI) and machine learning (ML) further improve computation efficiency".
For CNC, what matters is whether the shapes can be cut. Autodesk Fusion, one of the CAD/CAM programs in the software guide, has a milling setting for this. Its help pages say "Milling is a subtractive manufacturing method that enables you to include milling constraints in a generative study", and that it can "generate outcomes which can be manufactured using 2.5-, 3- or 5-axis milling operations." The result is still a design. It goes through CAM and toolpaths like any other part.
2. Asking a chatbot to write or change G-code
This is where the published results are most mixed. Researchers have tested it directly:
- Sket and colleagues (2025) asked ChatGPT-3.5 and GPT-4o to write G-code for a 3-axis part, then checked the code in CAM software and looked for mistakes. They reported "varying abilities with promising findings".
- Campean and colleagues (2026) had ChatGPT optimize G-code from a CAM program and milled the parts. Cycle time dropped by 37%, but the AI "critically eliminated the pocket-milling operation, resulting in a non-conforming part". It also "removed essential safety features including tool length compensation (G43/H codes) and return-to-safe-position commands (G28)", which "required manual intervention to prevent tool breakage and part damage."
- Hoang and colleagues (2025), working on machining process planning, wrote that large language models "routinely hallucinate numeric values and provide no provenance", which is why their system ties each answer to source documents.
- Abdelaal and colleagues (2025) built a G-code generator with syntax checks and other validation steps to make sure the generated code is correct.
The pattern across these studies is that the AI's output was useful as a draft and wrong in ways a person had to catch. Campean's team concluded that free tools like ChatGPT "lack the contextual understanding and manufacturing safety protocols necessary for autonomous CNC programming in production environments." A chatbot can also be a quick way to have a line of G-code explained, and the G-code guide covers the codes you'll see most. Neither use replaces CAM software written for your machine.
3. Assistants built into the machine
A step beyond a general chatbot is an assistant that knows one machine. Engert and colleagues (2026) built a prototype of this on an industrial CNC milling machine, with AI agents in the machine's own screen for G-code generation, machine-specific knowledge and help with the process. In their tests with real users, they report it "significantly improves accessibility, reduces cognitive workload" and "lowers entry barriers for inexperienced users". It's a research prototype in a factory setting, not a feature on hobby machines.
4. Watching the tool wear out
The longest-running line of research here doesn't involve chatbots at all. Sensors on the machine record signals while it cuts, and a model learns to tell when a tool is wearing out or about to break. A 2026 systematic review by Mloyi and colleagues found that "cutting force, vibration, acoustic emission and spindle current/power are the most important" signals, and that reported accuracy "is generally in the range of 85% to 99%, but is rarely comparable because the datasets, tools, materials, and validation procedures vary."
The same review lists the "under-representation of small firms" among the research gaps. Almost all of this work is on industrial machines with added sensors. None of the specs recorded for the 43 machines on this site mention tool-wear monitoring.
5. Gathering information, like this site does
One more practical use is reading and organizing published information. The figures on this site are collected by Yeomanwork, an AI agent that reads each maker's pages and records where every figure came from and when. As the How this site works page says, the automated reader "can make mistakes, which is why every figure links to its page." The same caution applies to any AI summary of specs: check the source before you rely on it.
What's practical today
- Usable now: generative design in CAD software that supports milling constraints, and AI help explaining what G-code or a spec sheet means.
- Use as a draft only: AI-written or AI-edited G-code. In the studies above, the mistakes were the kind that break tools or ruin parts.
- Mostly industrial so far: tool-wear monitoring and machine-specific assistants.
Nothing here was tested on a machine for this site. It reports what the software makers and researchers published.
Sources
Wikipedia and Autodesk's help pages read on 4 November 2026. Studies found through the Consensus research database on 4 November 2026; quotes are from their published abstracts. Two are preprints (not peer reviewed), marked in the list. Quotes are copied from these pages.
- Wikipedia: Generative design
- Autodesk Fusion help: Manufacturing methods in the Generative Design workspace
- Sket et al. (2025), Large language models for G-code generation in CNC machining: a comparison of ChatGPT-3.5 and ChatGPT-4o, Advances in Production Engineering & Management
- Campean et al. (2026), CNC Milling Optimization via Intelligent Algorithms: An AI-Based Methodology, Machines
- Hoang et al. (2025), Knowledge Graph Fusion with Large Language Models for Accurate, Explainable Manufacturing Process Planning, arXiv preprint
- Abdelaal et al. (2025), GLLM: Self-Corrective G-Code Generation using Large Language Models with User Feedback, arXiv preprint
- Engert et al. (2026), Human-Centered Development of a Multi-Agent AI System Based on Large Language Models for CNC Machine Tool Operation in Production, Procedia CIRP
- Mloyi et al. (2026), Machine Learning for Tool Condition Monitoring and Predictive Maintenance in CNC Machining: A Systematic Review, Open Access Research Journal of Science and Technology