Evaluating Large Language Models for G-Code Debugging, Manipulation, and Comprehension

Anushrut Jignasu, Kelly Marshall, Baskar Ganapathysubramanian, Aditya Balu, Chinmay Hegde, Adarsh Krishnamurthy

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Abstract

    3D printing is a revolutionary technology that enables the creation of physical objects from digital models. However, the quality and accuracy of 3D printing depend on the correctness and efficiency of the numerical control programming language (specifically, G-code) that instructs 3D printers on moving and extruding material. Debugging G-code, a low-level programming language for 3D printing, is a challenging task that requires manual tuning and geometric reasoning. In this paper, we present the first extensive evaluation of numerous large language models (LLMs) for debugging G-code files for 3-axis 3D printing. We design effective prompts to enable pre-trained LLMs to understand and manipulate G-code and test their performance on various aspects of G-code debugging and manipulation, including detection and correction of common errors and the ability to perform geometric transformations. We compare different state-of-the-art LLMs and analyze their strengths and weaknesses. We also discuss the implications and limitations of using LLMs for G-code comprehension and suggest directions for future research.

    Original languageEnglish (US)
    Title of host publication2024 IEEE LLM Aided Design Workshop, LAD 2024
    PublisherInstitute of Electrical and Electronics Engineers Inc.
    ISBN (Electronic)9798350376081
    DOIs
    StatePublished - 2024
    Event2024 IEEE International LLM-Aided Design Workshop, LAD 2024 - San Jose, United States
    Duration: Jun 28 2024Jun 29 2024

    Publication series

    Name2024 IEEE LLM Aided Design Workshop, LAD 2024

    Conference

    Conference2024 IEEE International LLM-Aided Design Workshop, LAD 2024
    Country/TerritoryUnited States
    CitySan Jose
    Period6/28/246/29/24

    Keywords

    • Debugging
    • G-code
    • Geometric comprehension
    • Large language models
    • Manufacturing 4.0

    ASJC Scopus subject areas

    • Artificial Intelligence
    • Computer Graphics and Computer-Aided Design
    • Computer Science Applications
    • Software
    • Control and Optimization

    Fingerprint

    Dive into the research topics of 'Evaluating Large Language Models for G-Code Debugging, Manipulation, and Comprehension'. Together they form a unique fingerprint.

    Cite this