English

GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Models

Computer Vision and Pattern Recognition 2025-10-21 v2

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). 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 \sim221k 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.

Keywords

Cite

@article{arxiv.2506.10337,
  title  = {GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Models},
  author = {Zhanwei Zhang and Kaiyuan Liu and Junjie Liu and Wenxiao Wang and Binbin Lin and Liang Xie and Chen Shen and Deng Cai},
  journal= {arXiv preprint arXiv:2506.10337},
  year   = {2025}
}

Comments

Accepted by NeurIPS 2025

R2 v1 2026-07-01T03:12:30.592Z