EUVIMEDEUVIMED entdecken
Crossref

Large language models for G-code generation in CNC machining: A comparison of ChatGPT-3.5 and ChatGPT-4o

K. Sket, D. Potocnik, M. Brezocnik, M. Ficko, S. Klančnik

Advances in Production Engineering & Management · 29.07.2025 · 20 (2) · 224-238

DOI: 10.14743/apem2025.2.537 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Advances in Production Engineering & Management, online erschienen am 29.07.2025. Verfasst von K. Sket und 4 weiteren Autor:innen. Die Arbeit wurde bisher 4-mal zitiert (Crossref).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

This research explores the viability of producing ISO G-code for 3-axis machining with OpenAI's Chat Generative Pre-Trained Transformer models, particularly ChatGPT-3.5 and the newer GPT-4o. G-code (RS-274-D, ISO 6983) converts human directives into commands that machines can understand, controlling toolpaths, spindle velocities, and feed rates to produce particular aspects of an object. Previously, G-code was generated either by hand or through the use of computer-aided manufacturing (CAM) software along with machine-specific post-processors, both of which may require considerable time and expense. This research aimed to assess the practicality and effectiveness of specific large language models (LLMs) in generating G-code. The assessment took place in three distinct phases on a sample component that required 3-axis machining. These phases included: (1) the self-generated production of G-code for the sample component, (2) the examination of the independently generated G-code in the CAM application, and (3) the recognition and justification of mistakes in the G-code. The outcomes indicated varying abilities with promising findings. This method could accelerate and possibly enhance manufacturing workflows by decreasing reliance on expensive CAM software and specialized knowledge.

Zitieren

APA

Sket, K., Potocnik, D., Brezocnik, M., Ficko, M., & Klančnik, S. (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, 20(2), 224-238. https://doi.org/10.14743/apem2025.2.537

Vancouver

Sket K, Potocnik D, Brezocnik M, Ficko M, Klančnik S. Large language models for G-code generation in CNC machining: A comparison of ChatGPT-3.5 and ChatGPT-4o. Advances in Production Engineering & Management. 2025;20(2):224-238. doi:10.14743/apem2025.2.537

BibTeX
@article{Sket2025,
  author = {Sket, K. and Potocnik, D. and Brezocnik, M. and Ficko, M. and Klančnik, S.},
  title = {Large language models for G-code generation in CNC machining: A comparison of ChatGPT-3.5 and ChatGPT-4o},
  journal = {Advances in Production Engineering & Management},
  year = {2025},
  volume = {20},
  number = {2},
  pages = {224--238},
  doi = {10.14743/apem2025.2.537}
}
Kostenlos starten →