Lune

AAAI2026Top-tier venue

UniSketch: A Unified Framework for Parametric Sketch Generation and Constraint Prediction

Jing Lin, Fazhi He, Rubin Fan

Abstract

In modern Computer-Aided Design (CAD), parametric sketches play a crucial role by capturing both the geometric structure and design intent through constraints. However, existing deep learning–based sketch methods remain restricted to simple geometric primitives and limited constraint types, hindering their application to complex real-world engineering tasks. To address this gap, we introduce the UniSketch dataset, comprising 3,836,290 sketches. It offers a comprehensive and diverse collection of 7 types of geometric primitives and 23 types of 2D constraints, all represented as unified vector sequences suitable for deep learning applications. Leveraging the UniSketch dataset, we propose a unified multi-task Transformer framework as a true foundation model for parametric sketch modeling, supporting diverse core tasks like image-to-sketch generation, constraint prediction, and unconditional sketch synthesis. Furthermore, the generated sketches can be efficiently converted to CAD-compatible formats, enabling seamless integration with industrial CAD system for re-editing and reusing. The experimental results show that UniSketch outperforms existing methods in multiple tasks, demonstrating its versatility and practical value in industrial CAD applications.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DeepCAD: A Deep Generative Network for Computer-Aided Design Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • DeepCAD: A Deep Generative Network for Computer-Aided Design Models cites Computer-Aided Design as Language
  • DeepCAD: A Deep Generative Network for Computer-Aided Design Models cites DeepSVG: A Hierarchical Generative Network for Vector Graphics Animation
  • Computer-Aided Design as Language cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Computer-Aided Design as Language cites DeepSVG: A Hierarchical Generative Network for Vector Graphics Animation
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on8

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. DeepCAD: A Deep Generative Network for Computer-Aided Design ModelsRundi Wu, Chang Xiao, Changxi ZhengICCV 2021 · 290 citations
  3. DeepSVG: A Hierarchical Generative Network for Vector Graphics AnimationAlexandre Carlier, Martin Danelljan, Alexandre Alahi, Radu TimofteNeurIPS 2020 · 247 citations
  4. Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequencesKarl D. D. Willis, Yewen Pu, Jieliang Luo, Hang Chu et al.SIGGRAPH 2021 · 197 citations
  5. Computer-Aided Design as LanguageYaroslav Ganin, Sergey Bartunov, Yujia Li, Ethan Keller et al.NeurIPS 2021 · 129 citations

Related papers

  1. SketchGen: Generating Constrained CAD SketchesWamiq Reyaz Para, Shariq Farooq Bhat, Paul Guerrero, Tom Kelly et al.NeurIPS 2021 · 114 citations
  2. Vitruvion: A Generative Model of Parametric CAD SketchesAri Seff, Wenda Zhou, Nick Richardson, Ryan P. AdamsICLR 2022 · 86 citations
  3. Drawing2CAD: Sequence-to-Sequence Learning for CAD Generation from Vector DrawingsFeiwei Qin, Shichao Lu, Junhao Hou, Changmiao Wang et al.ACM MM 2025 · 4 citations
  4. Free2CAD: parsing freehand drawings into CAD commandsChangjian Li, Hao Pan, Adrien Bousseau, Niloy J. MitraSIGGRAPH 2022 · 100 citations
  5. Constraint-Aware Feature Learning for Parametric Point CloudXi Cheng, Ruiqi Lei, Di Huang, Zhichao Liao et al.ICCV 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines