Plan then Act: Bi-level CAD Command Sequence Generation
Qiangya Guo, Gang Dai, Zhuoman Liu, Shuangping Huang, Yunqing Hu, Huiyuan Zhang, Tianshui Chen
Abstract
Computer-Aided Design (CAD), renowned for its flexibility and precision, serves as the foundation of digital design. Recently, some efforts adopt Large Language Models (LLMs) for generating parametric CAD command sequences from text instructions. However, our study reveals that LLMs pre-trained on large-scale general data are not proficient at directly outputting task-specific CAD sequences. Instead of relying on direct generation, we introduce a Plan then Act process where user instructions are first parsed into a chain-like operational plan via an LLM, which is then used to generate accurate command sequences. Specifically, we propose PTA, a new bi-level CAD command sequence generation method. The PTA consists of two critical stages: high-level plan generation and low-level command generation. During the high-level stage, an LLM-based Planner completes the planning process, parsing user instructions into a high-level operation plan. Following this, at the low-level generation stage, we introduce an Actioner equipped with a requirement-aware mechanism to extract design requirements (e.g., dimensions, geometric relationships) from user instructions. This extracted information is used to guide the low-level command sequence generation, improving the alignment of the generated sequences with user requirements. Experimental results demonstrate that our PTA outperforms existing methods in both quantitative and qualitative evaluations. Code is available at https://github.com/QiferG/Plan-then-Act.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Learning Hierarchical and Geometry-Aware Graph Representations for Text-to-CAD cites Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts
- Learning Hierarchical and Geometry-Aware Graph Representations for Text-to-CAD cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
- Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
- Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts cites SkexGen: Autoregressive Generation of CAD Construction Sequences with Disentangled Codebooks
- DeepCAD: A Deep Generative Network for Computer-Aided Design Models cites PIE-NET: Parametric Inference of Point Cloud Edges
- Towards Human-Like Robot Handwriting via Contour-Aware Generation cites Learning Hierarchical and Geometry-Aware Graph Representations for Text-to-CAD
- SkexGen: Autoregressive Generation of CAD Construction Sequences with Disentangled Codebooks cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
Cited by top-tier papers2
Builds on31
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- DeepCAD: A Deep Generative Network for Computer-Aided Design ModelsRundi Wu, Chang Xiao, Changxi ZhengICCV 2021 · 290 citations
- Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text PromptsMohammad Sadil Khan, Sankalp Sinha, Talha Uddin Sheikh, Didier Stricker et al.NeurIPS 2024 · 148 citations
- PIE-NET: Parametric Inference of Point Cloud EdgesXiaogang Wang, Yuelang Xu, Kai Xu, Andrea Tagliasacchi et al.NeurIPS 2020 · 145 citations
- SkexGen: Autoregressive Generation of CAD Construction Sequences with Disentangled CodebooksXiang Xu, Karl D. D. Willis, Joseph G. Lambourne, Chin-Yi Cheng et al.ICML 2022 · 126 citations
Related papers
- CAD-Llama: Leveraging Large Language Models for Computer-Aided Design Parametric 3D Model GenerationJiahao Li, Weijian Ma, Xueyang Li, Yunzhong Lou et al.CVPR 2025
- Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces SelectionDacheng Qi, Chenyu Wang, Jingwei Xu, Tianzhe Chu et al.CVPR 2026 · 10 citations
- Multi-Agent CAD Code GenerationYang Liu, Daxuan Ren, Yijie Ding, Jianmin Zheng et al.SIGGRAPH 2026
- CAD Translator: An Effective Drive for Text to 3D Parametric Computer-Aided Design Generative ModelingXueyang Li, Yu Song, Yunzhong Lou, Xiangdong ZhouACM MM 2024 · 16 citations
- GeoCAD: Local Geometry-Controllable CAD Generation with Large Language ModelsZhanwei Zhang, Kaiyuan Liu, Junjie Liu, Wenxiao Wang et al.NeurIPS 2025 · 1 citation
