Lune

NeurIPS2025顶会

CAD-Coder: Text-to-CAD Generation with Chain-of-Thought and Geometric Reward

Yandong Guan, Xilin Wang, Ximing Xing, Jing Zhang, Dong Xu, Qian Yu

摘要

In this work, we introduce CAD-Coder, a novel framework that reformulates text-to-CAD as the generation of CadQuery scripts - a Python-based, parametric CAD language. This representation enables direct geometric validation, a richer modeling vocabulary, and seamless integration with existing LLMs. To further enhance code validity and geometric fidelity, we propose a two-stage learning pipeline: (1) supervised fine-tuning on paired text-CadQuery data, and (2) reinforcement learning with Group Reward Policy Optimization (GRPO), guided by a CAD-specific reward comprising both a geometric reward (Chamfer Distance) and a format reward. We also introduce a chain-of-thought (CoT) planning process to improve model reasoning, and construct a large-scale, high-quality dataset of 110K text-CadQuery-3D model triplets and 1.5K CoT samples via an automated pipeline. Extensive experiments demonstrate that CAD-Coder enables LLMs to generate diverse, valid, and complex CAD models directly from natural language, advancing the state of the art of text-to-CAD generation and geometric reasoning.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CADFS: A Big CAD Program Dataset and Framework for Computer-Aided Design with Large Language Models 引用了 Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts
  • CADFS: A Big CAD Program Dataset and Framework for Computer-Aided Design with Large Language Models 引用了 DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces Selection 引用了 Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts
  • Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces Selection 引用了 ComplexGen: CAD reconstruction by B-rep chain complex generation
  • From Intent to Execution: Multimodal Chain-of-Thought Reinforcement Learning for Precise CAD Code Generation 引用了 Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts
  • From Intent to Execution: Multimodal Chain-of-Thought Reinforcement Learning for Precise CAD Code Generation 引用了 DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts 引用了 Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
  • Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts 引用了 DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Towards High-Fidelity CAD Generation via LLM-Driven Program Generation and Text-Based B-Rep Primitive Grounding 引用了 Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts
  • Towards High-Fidelity CAD Generation via LLM-Driven Program Generation and Text-Based B-Rep Primitive Grounding 引用了 Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
  • Towards High-Fidelity CAD Generation via LLM-Driven Program Generation and Text-Based B-Rep Primitive Grounding 引用了 DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • CME-CAD: Heterogeneous Collaborative Multi-Expert Reinforcement Learning for CAD Code Generation 引用了 From Intent to Execution: Multimodal Chain-of-Thought Reinforcement Learning for Precise CAD Code Generation
  • CME-CAD: Heterogeneous Collaborative Multi-Expert Reinforcement Learning for CAD Code Generation 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • ComplexGen: CAD reconstruction by B-rep chain complex generation 引用了 DeepCAD: A Deep Generative Network for Computer-Aided Design Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. CME-CAD: Heterogeneous Collaborative Multi-Expert Reinforcement Learning for CAD Code GenerationKe Niu, Haiyang Yu, Zhuofan Chen, Zhengtao Yao 等CVPR 2026 · 18 次引用
  2. Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces SelectionDacheng Qi, Chenyu Wang, Jingwei Xu, Tianzhe Chu 等CVPR 2026 · 10 次引用
  3. Towards High-Fidelity CAD Generation via LLM-Driven Program Generation and Text-Based B-Rep Primitive GroundingJiahao Li, Qingwang Zhang, Qiuyu Chen, Guozhan Qiu 等ICML 2026 · 7 次引用
  4. From Intent to Execution: Multimodal Chain-of-Thought Reinforcement Learning for Precise CAD Code GenerationKe Niu, Haiyang Yu, Zhuofan Chen, Mengyang Zhao 等AAAI 2026 · 5 次引用
  5. CADFS: A Big CAD Program Dataset and Framework for Computer-Aided Design with Large Language ModelsVladislav Pyatov, Gleb Bobrovskikh, Saveliy Galochkin, Nikita Boldyrev 等CVPR 2026 · 4 次引用

它引用的 Paper19

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
  2. DeepCAD: A Deep Generative Network for Computer-Aided Design ModelsRundi Wu, Chang Xiao, Changxi ZhengICCV 2021 · 290 次引用
  3. Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequencesKarl D. D. Willis, Yewen Pu, Jieliang Luo, Hang Chu 等SIGGRAPH 2021 · 197 次引用
  4. Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text PromptsMohammad Sadil Khan, Sankalp Sinha, Talha Uddin Sheikh, Didier Stricker 等NeurIPS 2024 · 148 次引用
  5. ComplexGen: CAD reconstruction by B-rep chain complex generationHaoxiang Guo, Shilin Liu, Hao Pan, Yang Liu 等SIGGRAPH 2022 · 106 次引用

相关 Paper

  1. Multi-Agent CAD Code GenerationYang Liu, Daxuan Ren, Yijie Ding, Jianmin Zheng 等SIGGRAPH 2026
  2. ReCAD: Reinforcement Learning Enhanced Parametric CAD Model Generation with Vision-Language ModelsJiahao Li, Yusheng Luo, Yunzhong Lou, Xiangdong ZhouAAAI 2026 · 4 次引用
  3. CAD-Recode: Reverse Engineering CAD Code From Point CloudsDanila Rukhovich, Elona Dupont, Dimitrios Mallis, Kseniya Cherenkova 等ICCV 2025 · 16 次引用
  4. TOOLCAD: Exploring Tool-Using Large Language Models in Text-to-CAD Generation with Reinforcement LearningXing Wu Yifei Gong, Tukang Wenda LiuACL Findings 2026 · 1 次引用
  5. CADMate: Generating CAD Assembly Plan with Geometric Chain-of-Thought and Spatial Physical RewardsJiali Chen, DingBa Fu, Xusen Hei, Yuhang Liu 等ACL 2026
黄昏的海面,两侧是细线勾勒的悬崖