Skip to main content
QUICK REVIEW

[Paper Review] LLM-3D Print: Large Language Models To Monitor and Control 3D Printing

Yayati Jadhav, P. S. Pak|arXiv (Cornell University)|Aug 26, 2024
Manufacturing Process and OptimizationEngineering5 citations
TL;DR

The paper proposes a multi-agent LLM framework that uses image analysis after each layer to detect defects, plan corrections, and autonomously adjust 3D printing parameters in real time.

ABSTRACT

Industry 4.0 has revolutionized manufacturing by driving digitalization and shifting the paradigm toward additive manufacturing (AM). Fused Deposition Modeling (FDM), a key AM technology, enables the creation of highly customized, cost-effective products with minimal material waste through layer-by-layer extrusion, posing a significant challenge to traditional subtractive methods. However, the susceptibility of material extrusion techniques to errors often requires expert intervention to detect and mitigate defects that can severely compromise product quality. While automated error detection and machine learning models exist, their generalizability across diverse 3D printer setups, firmware, and sensors is limited, and deep learning methods require extensive labeled datasets, hindering scalability and adaptability. To address these challenges, we present a process monitoring and control framework that leverages pre-trained Large Language Models (LLMs) alongside 3D printers to detect and address printing defects. The LLM evaluates print quality by analyzing images captured after each layer or print segment, identifying failure modes and querying the printer for relevant parameters. It then generates and executes a corrective action plan. We validated the effectiveness of the proposed framework in identifying defects by comparing it against a control group of engineers with diverse AM expertise. Our evaluation demonstrated that LLM-based agents not only accurately identify common 3D printing errors, such as inconsistent extrusion, stringing, warping, and layer adhesion, but also effectively determine the parameters causing these failures and autonomously correct them without any need for human intervention.

Motivation & Objective

  • Motivate improving FDM 3D printing reliability amid printer/fabrication variability without large labeled datasets.
  • Develop a framework that leverages LLMs to detect defects and autonomously plan and execute corrective actions during printing.
  • Demonstrate cross-printer adaptability and enhanced traceability through automated commentary and parameter tuning.

Proposed method

  • Capture top and front layer images after each printed layer and analyze with a multimodal LVLM/LLM (GPT-4o) to identify defects.
  • Utilize a supervisory multi-agent LLM framework with distinct planning, information gathering, and execution agents to orchestrate corrections via printer API.
  • Implement ReAct-based agent execution where executors translate plans into G-code/API actions and adapt based on printer feedback.
  • Maintain a dynamic state dictionary in the Supervisor Agent to coordinate module activations and ensure efficient information flow.
  • Interface the printer (Ender 5 Plus) via Klipper, Moonraker, and Mainsail, with two cameras and API-driven parameter adjustments.
  • Evaluate single-layer and multi-layer prints across PLA and TPU to assess defect detection, parameter optimization, and print quality improvements.
Figure 1: *
Figure 1: *

Experimental results

Research questions

  • RQ1Can an LLM-based supervisor detect common 3D printing defects from post-layer images across different printers and materials?
  • RQ2Can the framework autonomously plan and execute parameter adjustments to correct defects without human intervention?
  • RQ3How well does the LLM-based approach perform compared to human engineers with varying levels of AM expertise?
  • RQ4Does the system generalize to different materials (PLA, TPU) and print geometries (wrench, raised text) without prior datasets?

Key findings

  • LLM-based agents accurately identify defects such as inconsistent extrusion, stringing, warping, and layer adhesion.
  • The framework autonomously determines and adjusts parameters causing failures, improving print quality compared to baseline.
  • Single-layer optimization shows parameter recommendations (speed, flow rate, pressure advance, retraction) that improve occupancy and surface quality for PLA and TPU.
  • Multi-layer prints demonstrate improved edge definition, surface finish, and layer adhesion compared to baseline prints.
  • A supervisor module effectively coordinates seven specialized agents and preserves process traceability through detailed commentary.
  • The approach enables layer-wise corrective actions without discarding the part, reducing material waste and enabling certification-traceability.
Figure 2: Schematic of the Proposed Framework. The process begins with a G-code file (a) being uploaded to the 3D printer, which is equipped with two frame-mounted cameras (b). After each layer is printed, the extruder moves to the home position, and two images of the current print state are capture
Figure 2: Schematic of the Proposed Framework. The process begins with a G-code file (a) being uploaded to the 3D printer, which is equipped with two frame-mounted cameras (b). After each layer is printed, the extruder moves to the home position, and two images of the current print state are capture

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.