CAD-Coder:Text-Guided CAD Files Code Generation
Changqi He, Shuhan Zhang, Liguo Zhang, Jiajun Miao

TL;DR
CAD-Coder is a novel framework that converts natural language instructions into editable CAD scripts, enabling personalized, interactive, and annotated CAD file generation for manufacturing applications.
Contribution
It introduces a new dataset of over 29,000 CAD files with script codes and geometric annotations, and demonstrates superior interactive and editable CAD generation capabilities.
Findings
Outperforms existing methods in interactive CAD generation
Provides editable CAD sketches with geometric annotations
Constructed a comprehensive dataset of CAD files and scripts
Abstract
Computer-aided design (CAD) is a way to digitally create 2D drawings and 3D models of real-world products. Traditional CAD typically relies on hand-drawing by experts or modifications of existing library files, which doesn't allow for rapid personalization. With the emergence of generative artificial intelligence, convenient and efficient personalized CAD generation has become possible. However, existing generative methods typically produce outputs that lack interactive editability and geometric annotations, limiting their practical applications in manufacturing. To enable interactive generative CAD, we propose CAD-Coder, a framework that transforms natural language instructions into CAD script codes, which can be executed in Python environments to generate human-editable CAD files (.Dxf). To facilitate the generation of editable CAD sketches with annotation information, we construct a…
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
MethodsLib
