TY - GEN
T1 - Multi-Agent CAD Code Generation
AU - Liu, Yang
AU - Ren, Daxuan
AU - Ding, Yijie
AU - Zheng, Jianmin
AU - Deng, Fang
N1 - Publisher Copyright:
© 2026 Copyright held by the owner/author(s).
PY - 2026/7/19
Y1 - 2026/7/19
N2 - Advances in large language models (LLMs) have sparked interest in automating parametric CAD modeling through natural language. Existing LLM-based approaches often treat CAD modeling as flat text generation, overlooking the hierarchical structure and geometric constraints inherent in CAD programs. We present CAD-Factory, a Text-to-CAD generation system for language-driven CAD modeling that explicitly models the structural and parametric semantics of CAD programs. Our core contribution is a new formulation of CAD generation as structured program synthesis, coupled with a learnable hierarchical CAD program representation that disentangles structural topology from parameter instantiation. Building on this formulation, CAD-Factory adopts a manager-programmer-reviewer architecture: a planning agent infers program hierarchy, a coding agent instantiates symbolic and numerical parameters, and an evaluation module enforces structural validity and geometric feasibility, which supports structure-aware reasoning, constraint-consistent generation, and interpretable program synthesis. An editor-viewer loop further enables part-aware code refinement through visual feedback, supporting iterative and controllable design workflows. We also contribute a process-oriented annotation pipeline and a Text-CAD dataset with parameter-free or partially specified descriptions that reflect real-world design expression. Extensive experiments demonstrate that CAD-Factory significantly improves structural correctness and geometric consistency across diverse CAD code generation and editing tasks, establishing a structured, interpretable, and robust framework for AI-assisted design.
AB - Advances in large language models (LLMs) have sparked interest in automating parametric CAD modeling through natural language. Existing LLM-based approaches often treat CAD modeling as flat text generation, overlooking the hierarchical structure and geometric constraints inherent in CAD programs. We present CAD-Factory, a Text-to-CAD generation system for language-driven CAD modeling that explicitly models the structural and parametric semantics of CAD programs. Our core contribution is a new formulation of CAD generation as structured program synthesis, coupled with a learnable hierarchical CAD program representation that disentangles structural topology from parameter instantiation. Building on this formulation, CAD-Factory adopts a manager-programmer-reviewer architecture: a planning agent infers program hierarchy, a coding agent instantiates symbolic and numerical parameters, and an evaluation module enforces structural validity and geometric feasibility, which supports structure-aware reasoning, constraint-consistent generation, and interpretable program synthesis. An editor-viewer loop further enables part-aware code refinement through visual feedback, supporting iterative and controllable design workflows. We also contribute a process-oriented annotation pipeline and a Text-CAD dataset with parameter-free or partially specified descriptions that reflect real-world design expression. Extensive experiments demonstrate that CAD-Factory significantly improves structural correctness and geometric consistency across diverse CAD code generation and editing tasks, establishing a structured, interpretable, and robust framework for AI-assisted design.
KW - Computer Aided Design
KW - Large Language Model
KW - Multi-agent System
KW - Parametric CAD Modeling
UR - https://www.scopus.com/pages/publications/105046306145
U2 - 10.1145/3799902.3811067
DO - 10.1145/3799902.3811067
M3 - Conference contribution
AN - SCOPUS:105046306145
T3 - Proceedings - SIGGRAPH 2026 Conference Papers
BT - Proceedings - SIGGRAPH 2026 Conference Papers
A2 - Spencer, Stephen N.
PB - Association for Computing Machinery, Inc
T2 - Conference Papers, SIGGRAPH 2026
Y2 - 19 July 2026 through 23 July 2026
ER -