GeoCAD: Local Geometry-Controllable CAD Generation

Zhanwei Zhang, Kai-Yuan Liu, Jun-Jie Liu, Wenxiao Wang, Binbin Lin +3 more
6/1/2025
8 citations

Official code: Zhanwei-Z/GeoCAD (16 stars, Python, last commit 2025-10-21).

Abstract

Local geometry-controllable computer-aided design (CAD) generation aims to modify local parts of CAD models automatically, enhancing design efficiency. It also ensures that the shapes of newly generated local parts follow user-specific geometric instructions (e.g., an isosceles right triangle or a rectangle with one corner cut off).

Show full abstract

However, existing methods encounter challenges in achieving this goal. Specifically, they either lack the ability to follow textual instructions or are unable to focus on the local parts. To address this limitation, we introduce GeoCAD, a user-friendly and local geometry-controllable CAD generation method. Specifically, we first propose a complementary captioning strategy to generate geometric instructions for local parts. This strategy involves vertex-based and VLLM-based captioning for systematically annotating simple and complex parts, respectively. In this way, we caption $\sim$221k different local parts in total. In the training stage, given a CAD model, we randomly mask a local part. Then, using its geometric instruction and the remaining parts as input, we prompt large language models (LLMs) to predict the masked part. During inference, users can specify any local part for modification while adhering to a variety of predefined geometric instructions. Extensive experiments demonstrate the effectiveness of GeoCAD in generation quality, validity and text-to-CAD consistency. Code will be available at https://github.com/Zhanwei-Z/GeoCAD.

View on arXivView PDF

Code Implementations(1)

Zhanwei-Z/GeoCADOfficial100%

code of GeoCAD

162PythonSep 28, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025geocad,
  title  = {GeoCAD: Local Geometry-Controllable CAD Generation},
  author = {Zhanwei Zhang and Kai-Yuan Liu and Jun-Jie Liu and Wenxiao Wang and Binbin Lin and Liang Xie and Chen Shen and Deng Cai},
  year   = {2025},
  eprint = {2506.10337},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.10337},
  url    = {https://doi.org/10.48550/arXiv.2506.10337},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.10337.svg)](https://codeofpaper.com/paper/2506.10337)

Discussion