Goto

Collaborating Authors

 g-code




3D Printing Supplementary Material

Neural Information Processing Systems

Figure 1: The Slice-100K dataset consists of STL files and their G-code counterparts. However, we do foresee some potential negative societal impacts. We provide additional visualizations to understand the distribution of STL models in Slice-100K. Slicing: We utilize Prusa's Slicer for generating G-code from STL files. Finetuning implementation: For finetuning our translation model, we use a batch size of 32 with 8 gradient accumulation steps.



GLLM: Self-Corrective G-Code Generation using Large Language Models with User Feedback

Abdelaal, Mohamed, Lokadjaja, Samuel, Engert, Gilbert

arXiv.org Artificial Intelligence

This paper introduces GLLM, an innovative tool that leverages Large Language Models (LLMs) to automatically generate G-code from natural language instructions for Computer Numerical Control (CNC) machining. GLLM addresses the challenges of manual G-code writing by bridging the gap between human-readable task descriptions and machine-executable code. The system incorporates a fine-tuned StarCoder-3B model, enhanced with domain-specific training data and a Retrieval-Augmented Generation (RAG) mechanism. GLLM employs advanced prompting strategies and a novel self-corrective code generation approach to ensure both syntactic and semantic correctness of the generated G-code. The architecture includes robust validation mechanisms, including syntax checks, G-code-specific verifications, and functional correctness evaluations using Hausdorff distance. By combining these techniques, GLLM aims to democratize CNC programming, making it more accessible to users without extensive programming experience while maintaining high accuracy and reliability in G-code generation.


FDM-Bench: A Comprehensive Benchmark for Evaluating Large Language Models in Additive Manufacturing Tasks

Eslaminia, Ahmadreza, Jackson, Adrian, Tian, Beitong, Stern, Avi, Gordon, Hallie, Malhotra, Rajiv, Nahrstedt, Klara, Shao, Chenhui

arXiv.org Artificial Intelligence

Fused Deposition Modeling (FDM) is a widely used additive manufacturing (AM) technique valued for its flexibility and cost-efficiency, with applications in a variety of industries including healthcare and aerospace. Recent developments have made affordable FDM machines accessible and encouraged adoption among diverse users. However, the design, planning, and production process in FDM require specialized interdisciplinary knowledge. Managing the complex parameters and resolving print defects in FDM remain challenging. These technical complexities form the most critical barrier preventing individuals without technical backgrounds and even professional engineers without training in other domains from participating in AM design and manufacturing. Large Language Models (LLMs), with their advanced capabilities in text and code processing, offer the potential for addressing these challenges in FDM. However, existing research on LLM applications in this field is limited, typically focusing on specific use cases without providing comprehensive evaluations across multiple models and tasks. To this end, we introduce FDM-Bench, a benchmark dataset designed to evaluate LLMs on FDM-specific tasks. FDM-Bench enables a thorough assessment by including user queries across various experience levels and G-code samples that represent a range of anomalies. We evaluate two closed-source models (GPT-4o and Claude 3.5 Sonnet) and two open-source models (Llama-3.1-70B and Llama-3.1-405B) on FDM-Bench. A panel of FDM experts assess the models' responses to user queries in detail. Results indicate that closed-source models generally outperform open-source models in G-code anomaly detection, whereas Llama-3.1-405B demonstrates a slight advantage over other models in responding to user queries. These findings underscore FDM-Bench's potential as a foundational tool for advancing research on LLM capabilities in FDM.


Vision-based FDM Printing for Fabricating Airtight Soft Actuators

Wu, Yijia, Dai, Zilin, Liu, Haotian, Wang, Lehong, Nemitz, Markus P.

arXiv.org Artificial Intelligence

Abstract-- Pneumatic soft robots are typically fabricated by molding, a manual fabrication process that requires skilled labor. Additive manufacturing has the potential to break this limitation and speed up the fabrication process but struggles with consistently producing high-quality prints. We propose a low-cost approach to improve the print quality of desktop fused deposition modeling by adding a webcam to the printer to monitor the printing process and detect and correct defects such as holes or gaps. We demonstrate that our approach improves the air-tightness of printed pneumatic actuators without finetuning printing parameters. Our approach presents a new option for robustly fabricating airtight, soft robotic actuators.