Back to search

University of Arkansas

Iterative Generation of Feature-Based CAD Models Using an LLM with Domain Specific Constraints

Abstract

dc:description.abstract

This paper presents a method to generate feature-based parametric mechanical CAD models from text input. The method uses domain-specific constraints (DSCs) to guide a large language model (LLM) in the generation of scripts to build models from the CAD API. It also presents a framework for an iterative text-based system that produces parametric CAD models. The method was implemented by developing DSCs for FreeCAD and Open AI GPT-5.2 and incorporated into a web-based software application which generates models that can be visualized with an interactive viewer after each iteration. Tests were run comparing various models with and without this method. Results show that a general LLM (like GPT-5.2) alone struggles to build all but the simplest CAD models. However, using DSCs is an effective way to enable a general LLM to generate more complex, feature-based CAD models from text input. An iterative modeling approach is shown to further increase model generation reliability.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Computer Science (MS)
Level thesis:degree_level
Thesis
Department thesis:degree_department
Computer Science & Computer Engineering
Year dc:date.available
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hepworth, Ammon I
Advisor dc:contributor.advisor
  • Gauch, John
Contributors dc:contributor
  • Luu, Khoa
  • Gauch, Susan

Subjects

dc:subject × 2

Identifiers

dc:identifier.*
Repository record dc:identifier
https://scholarworks.uark.edu/etd/6348

Chain of custody

source
Harvested from
University of Arkansas
Base URL
scholarworks.uark.edu/do/oai/
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Hepworth, Ammon I. Iterative Generation of Feature-Based CAD Models Using an LLM with Domain Specific Constraints. Thesis thesis, 2026. https://scholarworks.uark.edu/etd/6348