A Three-Layer Runtime Constraint Verification Framework with Self-Correction for AI-Generated Parametric CAD Models

Large language models (LLMs) frequently generate physically impossible parametric specifications in computer-aided design (CAD). This paper presents FMforME, a three-layer runtime constraint verification framework that integrates LLM-based generation with six engineering standard-grounded defect detection predicates (D1–D6) and execution in Autodesk Fusion 360. To address detected violations, a Self-Examine subsystem iteratively provides structured, standard-referenced feedback to the LLM, enabling verifier-guided error correction. We evaluated the framework across 564 test cases using four LLM backends from three model families. The system showed consistent buildability within the evaluated benchmark: across all models, every specification validated by the Monitor successfully built in Fusion 360 (548/548). Across the four evaluated backends, realized seeded defect detection ranged from 95.5% to 95.8%, and three backends showed an observed 100% natural pass rate in this benchmark. Crucially, this runtime safety barrier adds little computational overhead relative to LLM inference, averaging only 0.1 ms per in-memory verification check. These results show that standards-referenced runtime verification with structured self-correction can serve as a practical safeguard for LLM-generated CAD specifications within the tested single-part workflows, while broader validation on complex assemblies remains future work.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-07-23
DOI
https://doi.org/10.3390/app16157396
Primary Topic
Manufacturing Process and Optimization
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Three-Layer Runtime Constraint Verification Framework with Self-Correction for AI-Generated Parametric CAD Models

Timothy H. Lee, Z Q Chen, Yang Shen, Xiaoyi Yin
Applied Sciences
Manufacturing Process and Optimization
article

A Three-Layer Runtime Constraint Verification Framework with Self-Correction for AI-Generated Parametric CAD Models

Timothy H. Lee, Z Q Chen, Yang Shen, Xiaoyi Yin
article en

Abstract

Large language models (LLMs) frequently generate physically impossible parametric specifications in computer-aided design (CAD). This paper presents FMforME, a three-layer runtime constraint verification framework that integrates LLM-based generation with six engineering standard-grounded defect detection predicates (D1–D6) and execution in Autodesk Fusion 360. To address detected violations, a Self-Examine subsystem iteratively provides structured, standard-referenced feedback to the LLM, enabling verifier-guided error correction. We evaluated the framework across 564 test cases using four LLM backends from three model families. The system showed consistent buildability within the evaluated benchmark: across all models, every specification validated by the Monitor successfully built in Fusion 360 (548/548). Across the four evaluated backends, realized seeded defect detection ranged from 95.5% to 95.8%, and three backends showed an observed 100% natural pass rate in this benchmark. Crucially, this runtime safety barrier adds little computational overhead relative to LLM inference, averaging only 0.1 ms per in-memory verification check. These results show that standards-referenced runtime verification with structured self-correction can serve as a practical safeguard for LLM-generated CAD specifications within the tested single-part workflows, while broader validation on complex assemblies remains future work.

Applied SciencesVol. 16(15)
University of Illinois Urbana-Champaign (US), Zhejiang Energy Research Institute (CN), Zhejiang University (CN)
National Natural Science Foundation of China
Peace, Justice and strong institutions
Openalex Percentile: Top 9%
Manufacturing Process and Optimization
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.

A Three-Layer Runtime Constraint Verification Framework with Self-Correction for AI-Generated Parametric CAD Models — Timothy H. Lee, Z Q Chen, et al. · Applied Sciences (2026) | TGRS Research Map | TGRS