LuBan: Constructing Hierarchical Graphs for CAD Sketch Generation via Transformer Intermediate Outputs

Computer-Aided Design (CAD) sketches, composed of geometric primitives and constraints, are fundamental to CAD models and play a critical role in industrial design and manufacturing. Leveraging artificial intelligence to convert hand-drawn sketches and rendered images into CAD sketches has the potential to streamline and accelerate the design process. Existing approaches predominantly focus on separately learning primitives and constraints, often employing two-stage methods or learnable tokens to model these elements independently. However, such methods fail to fully exploit the intrinsic relationships between primitives and constraints. In this paper, we propose LuBan, a lightweight, end-to-end model for CAD sketch generation that eliminates the need for separate constraint models or tokens. LuBan leverages the DEtection TRansformer (DETR) architecture for primitive modeling and distinguishes between parametric and non-parametric features. By deriving sub-primitive features from the intermediate outputs of the primitive model, LuBan facilitates constraint prediction, effectively capturing the inherent relationships between primitives and constraints. This enables the generation of CAD sketches as hierarchical graphs. Qualitative and quantitative experiments on both precise and hand-drawn renderings demonstrate that LuBan achieves state-of-the-art performance. Ablation studies further confirm its superiority over independently trained primitive models, validating its effectiveness. Additionally, LuBan embodies the principle of "what you draw is what you get," offering significant enhancements to the design process for designers.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Visualization and Computer Graphics
Published
2026-01-21
DOI
https://doi.org/10.1109/tvcg.2026.3656577
Primary Topic
3D Shape Modeling and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LuBan: Constructing Hierarchical Graphs for CAD Sketch Generation via Transformer Intermediate Outputs

Zhouwang Yang Zhouwang Yang, Yanzhi Song, Chuanyang Li, Chuqi Han
IEEE Transactions on Visualization and Computer Graphics
3D Shape Modeling and Analysis
article

LuBan: Constructing Hierarchical Graphs for CAD Sketch Generation via Transformer Intermediate Outputs

Zhouwang Yang Zhouwang Yang, Yanzhi Song, Chuanyang Li, Chuqi Han
article en

Abstract

Computer-Aided Design (CAD) sketches, composed of geometric primitives and constraints, are fundamental to CAD models and play a critical role in industrial design and manufacturing. Leveraging artificial intelligence to convert hand-drawn sketches and rendered images into CAD sketches has the potential to streamline and accelerate the design process. Existing approaches predominantly focus on separately learning primitives and constraints, often employing two-stage methods or learnable tokens to model these elements independently. However, such methods fail to fully exploit the intrinsic relationships between primitives and constraints. In this paper, we propose LuBan, a lightweight, end-to-end model for CAD sketch generation that eliminates the need for separate constraint models or tokens. LuBan leverages the DEtection TRansformer (DETR) architecture for primitive modeling and distinguishes between parametric and non-parametric features. By deriving sub-primitive features from the intermediate outputs of the primitive model, LuBan facilitates constraint prediction, effectively capturing the inherent relationships between primitives and constraints. This enables the generation of CAD sketches as hierarchical graphs. Qualitative and quantitative experiments on both precise and hand-drawn renderings demonstrate that LuBan achieves state-of-the-art performance. Ablation studies further confirm its superiority over independently trained primitive models, validating its effectiveness. Additionally, LuBan embodies the principle of "what you draw is what you get," offering significant enhancements to the design process for designers.

IEEE Transactions on Visualization and Computer GraphicsVol. 32(3)
University of Science and Technology of China (CN), Department of Mathematical Sciences (RU)
Industry, innovation and infrastructure
Openalex Percentile: Top 81%
3D Shape Modeling and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

LuBan: Constructing Hierarchical Graphs for CAD Sketch Generation via Transformer Intermediate Outputs — Zhouwang Yang Zhouwang Yang, Yanzhi Song, et al. · IEEE Transactions on Visualization and Computer Graphics (2026) | TGRS Research Map | TGRS