Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generation
Bo Yuan, Zelin Zhao, Petr Molodyk, Bin Hu, Yongxin Chen

TL;DR
ProCAD introduces a proactive agentic framework for text-to-CAD generation that improves robustness by resolving specification ambiguities through targeted clarifications before code synthesis.
Contribution
It presents a novel proactive clarification approach with a dedicated agent that enhances the accuracy and reliability of text-to-CAD systems, outperforming existing models.
Findings
Significantly reduces Chamfer distance by 79.9%
Lowers invalidity ratio from 4.8% to 0.9%
Improves robustness to ambiguous prompts
Abstract
Large language models have recently enabled text-to-CAD systems that synthesize parametric CAD programs (e.g., CadQuery) from natural language prompts. In practice, however, geometric descriptions can be under-specified or internally inconsistent: critical dimensions may be missing and constraints may conflict. Existing fine-tuned models tend to reactively follow user instructions and hallucinate dimensions when the text is ambiguous. To address this, we propose a proactive agentic framework for text-to-CadQuery generation, named ProCAD, that resolves specification issues before code synthesis. Our framework pairs a proactive clarifying agent, which audits the prompt and asks targeted clarification questions only when necessary to produce a self-consistent specification, with a CAD coding agent that translates the specification into an executable CadQuery program. We fine-tune the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topics3D Shape Modeling and Analysis · Machine Learning in Materials Science · Manufacturing Process and Optimization
