From dialogue to design: GenAI-Based automation of parametric modeling and sizing tasks in CAD workflows

• Fine-tuned LLMs enable parameter extraction, sizing, and FreeCAD macro code generation. • Small datasets (approximately 2,000 samples) are sufficient for high-accuracy design automation. • Fine-tuning with extended hyperparameters improves quality without overhead. • Early stopping reduces training time while preserving model performance. This study explores the automation of engineering design tasks using Generative Artificial Intelligence, focusing on the dimensioning machine elements and generation of their respective CAD models, specifically bolted connections, in the open-source software FreeCAD. Three system architectures were developed and evaluated: All-in-One, Chatbot-Designbot, and Chatbot-Calculator-Code Generator. These frameworks integrate Large Language Models, such as GPT-2 and CodeGen, which were fine-tuned using Parameter-Efficient Fine-Tuning and Low-Rank Adaptation. While the All-in-One architecture consolidates all tasks into a single model, the Chatbot-Designbot and Chatbot-Calculator-Code Generator architectures decompose the process into specialized modules for dialogue interaction, parameter extraction, part dimensioning, and CAD code generation. The evaluation results show that the Chatbot-Calculator-Code Generator configuration achieves the lowest overall error rate for the four steps combined (2%) with a total training time of 63.4 minutes. This configuration outperforms the Chatbot-Designbot (3.96%, 117.7 minutes) and All-in-One (53%, 24.2 minutes) architectures. These findings demonstrate that compact, fine-tuned Large Language Models can enable accurate and efficient design automation, even with limited data. This work establishes a methodological foundation for scalable, Generative Artificial Intelligence -driven CAD systems and interactive engineering design workflows.

Authors

Institutions

Publication Details

Journal
Computer-Aided Design
Published
2026-03-21
DOI
https://doi.org/10.1016/j.cad.2026.104065
Primary Topic
Usability and User Interface Design
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

From dialogue to design: GenAI-Based automation of parametric modeling and sizing tasks in CAD workflows

Tobias Rosnitschek, Bettina Alber-Laukant, Malte Stonis, Jan Walschewski et al.
Computer-Aided Design
Usability and User Interface Design
article

From dialogue to design: GenAI-Based automation of parametric modeling and sizing tasks in CAD workflows

Tobias Rosnitschek, Bettina Alber-Laukant, Malte Stonis, Jan Walschewski, Peter Grohmann, Sascha Eckardt, Stephan Tremmel
article en

Abstract

• Fine-tuned LLMs enable parameter extraction, sizing, and FreeCAD macro code generation. • Small datasets (approximately 2,000 samples) are sufficient for high-accuracy design automation. • Fine-tuning with extended hyperparameters improves quality without overhead. • Early stopping reduces training time while preserving model performance. This study explores the automation of engineering design tasks using Generative Artificial Intelligence, focusing on the dimensioning machine elements and generation of their respective CAD models, specifically bolted connections, in the open-source software FreeCAD. Three system architectures were developed and evaluated: All-in-One, Chatbot-Designbot, and Chatbot-Calculator-Code Generator. These frameworks integrate Large Language Models, such as GPT-2 and CodeGen, which were fine-tuned using Parameter-Efficient Fine-Tuning and Low-Rank Adaptation. While the All-in-One architecture consolidates all tasks into a single model, the Chatbot-Designbot and Chatbot-Calculator-Code Generator architectures decompose the process into specialized modules for dialogue interaction, parameter extraction, part dimensioning, and CAD code generation. The evaluation results show that the Chatbot-Calculator-Code Generator configuration achieves the lowest overall error rate for the four steps combined (2%) with a total training time of 63.4 minutes. This configuration outperforms the Chatbot-Designbot (3.96%, 117.7 minutes) and All-in-One (53%, 24.2 minutes) architectures. These findings demonstrate that compact, fine-tuned Large Language Models can enable accurate and efficient design automation, even with limited data. This work establishes a methodological foundation for scalable, Generative Artificial Intelligence -driven CAD systems and interactive engineering design workflows.

Computer-Aided DesignVol. 196
Institut fuer Integrierte Produktion Hannover (Germany) (DE), University of Bayreuth (DE)
Openalex Percentile: Top 18%
Usability and User Interface Design
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.