Balancing speed and executability in interactive text-to-CAD code generation for early-stage parametric CAD ideation

The demand for Computer-Aided Design (CAD) in industrial product development continues to grow, motivating a shift from traditional graphical interfaces toward automated parametric modeling workflows that support rapid iteration and interactive exploration. In such settings, generation systems must produce executable and geometrically consistent parametric code while maintaining low inference latency. Although non-autoregressive (NAR) generation methods are attractive due to their parallel decoding efficiency, they often struggle with structural validity, geometric consistency, and semantic fidelity when applied to parametric modeling languages. To address these challenges, we propose Para-CADecoder (PCAD), a structure-aware non-autoregressive diffusion system for text-driven parametric CAD code generation, implemented using a script-based three-dimensional modeling library. PCAD integrates a CADQuery-oriented tokenizer that preserves function-level semantics, a structure-aware masking mechanism within the diffusion recovery process, and geometry-aware constraints designed to improve structural consistency and first-pass executability. Experimental results show that PCAD achieves inference speeds 4-8$$\times $$ faster than typical autoregressive models, while improving geometric fidelity and executability compared with existing non-autoregressive baselines. These results highlight a practical speed-quality trade-off and suggest that non-autoregressive diffusion models can effectively support interactive and early-stage parametric CAD ideation, where rapid feedback and editable code representations are essential.

Authors

Institutions

Publication Details

Journal
Journal of King Saud University - Computer and Information Sciences
Published
2026-04-15
DOI
https://doi.org/10.1007/s44443-026-00754-y
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

Balancing speed and executability in interactive text-to-CAD code generation for early-stage parametric CAD ideation

Hualong Yu, Yuhao Sun, Shang Zheng, Hao Cheng et al.
Journal of King Saud University - Computer and Information Sciences
Manufacturing Process and Optimization
article

Balancing speed and executability in interactive text-to-CAD code generation for early-stage parametric CAD ideation

Hualong Yu, Yuhao Sun, Shang Zheng, Hao Cheng, Haitao Zou
article en

Abstract

The demand for Computer-Aided Design (CAD) in industrial product development continues to grow, motivating a shift from traditional graphical interfaces toward automated parametric modeling workflows that support rapid iteration and interactive exploration. In such settings, generation systems must produce executable and geometrically consistent parametric code while maintaining low inference latency. Although non-autoregressive (NAR) generation methods are attractive due to their parallel decoding efficiency, they often struggle with structural validity, geometric consistency, and semantic fidelity when applied to parametric modeling languages. To address these challenges, we propose Para-CADecoder (PCAD), a structure-aware non-autoregressive diffusion system for text-driven parametric CAD code generation, implemented using a script-based three-dimensional modeling library. PCAD integrates a CADQuery-oriented tokenizer that preserves function-level semantics, a structure-aware masking mechanism within the diffusion recovery process, and geometry-aware constraints designed to improve structural consistency and first-pass executability. Experimental results show that PCAD achieves inference speeds 4-8$$\times $$ faster than typical autoregressive models, while improving geometric fidelity and executability compared with existing non-autoregressive baselines. These results highlight a practical speed-quality trade-off and suggest that non-autoregressive diffusion models can effectively support interactive and early-stage parametric CAD ideation, where rapid feedback and editable code representations are essential.

Journal of King Saud University - Computer and Information Sciences
Jiangsu University of Science and Technology (CN)
National Natural Science Foundation of China
Industry, innovation and infrastructure
Openalex Percentile: Top 7%
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.

Balancing speed and executability in interactive text-to-CAD code generation for early-stage parametric CAD ideation — Hualong Yu, Yuhao Sun, et al. · Journal of King Saud University - Computer and Information Sciences (2026) | TGRS Research Map | TGRS