Lune

ACM MM2025Top-tier venue

Drawing2CAD: Sequence-to-Sequence Learning for CAD Generation from Vector Drawings

Feiwei Qin, Shichao Lu, Junhao Hou, Changmiao Wang, Meie Fang, Ligang Liu

Abstract

Computer-Aided Design (CAD) generative modeling is driving significant innovations across industrial applications. Recent works have shown remarkable progress in creating solid models from various inputs such as point clouds, meshes, and text descriptions. However, these methods fundamentally diverge from traditional industrial workflows that begin with 2D engineering drawings. The automatic generation of parametric CAD models from these 2D vector drawings remains underexplored despite being a critical step in engineering design. To address this gap, our key insight is to reframe CAD generation as a sequence-to-sequence learning problem where vector drawing primitives directly inform the generation of parametric CAD operations, preserving geometric precision and design intent throughout the transformation process. We propose Drawing2CAD, a framework with three key technical components: a network-friendly vector primitive representation that preserves precise geometric information, a dual-decoder transformer architecture that decouples command type and parameter generation while maintaining precise correspondence, and a soft target distribution loss function accommodating inherent flexibility in CAD parameters. To train and evaluate Drawing2CAD, we create CAD-VGDrawing, a dataset of paired engineering drawings and parametric CAD models, and conduct thorough experiments to demonstrate the effectiveness of our method. Code and dataset are available at https://github.com/lllssc/Drawing2CAD.

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.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HiFi-BRep: High-Fidelity Latent Representation for Robust B-Rep Generation cites Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
  • HiFi-BRep: High-Fidelity Latent Representation for Robust B-Rep Generation cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • 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 DeepSVG: A Hierarchical Generative Network for Vector Graphics Animation
  • CAD-Refiner: A Unified Framework for CAD Generation and Iterative Editing cites Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
  • CAD-Refiner: A Unified Framework for CAD Generation and Iterative Editing cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • DeepSVG: A Hierarchical Generative Network for Vector Graphics Animation cites A Learned Representation for Scalable Vector Graphics
  • Bidirectional Query-Driven Generation of Parametric CAD Sketch cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
  • Bridging Tokens and Geometry: Token-wise 3D Supervision for CAD Generation cites DeepCAD: A Deep Generative Network for Computer-Aided Design Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. HiFi-BRep: High-Fidelity Latent Representation for Robust B-Rep GenerationJunhao Hou, Chenqi Luo, Pufan Wang, Jiaying Lu et al.CVPR 2026
  2. CAD-Refiner: A Unified Framework for CAD Generation and Iterative EditingMeng Yuan, Dawei Lin, Hongxia Xie, Tieru Wu et al.CVPR 2026
  3. Bidirectional Query-Driven Generation of Parametric CAD SketchYang Liu, Daxuan Ren, Yijie Ding, Jianmin Zheng et al.CVPR 2026
  4. Bridging Tokens and Geometry: Token-wise 3D Supervision for CAD GenerationYijia Guan, Jianhua SunICML 2026

Builds on19

  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. A Learned Representation for Scalable Vector GraphicsRaphael Gontijo Lopes, David Ha, Douglas Eck, Jonathon ShlensICCV 2019 · 153 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. PlankAssembly: Robust 3D Reconstruction from Three Orthographic Views with Learnt Shape ProgramsWentao Hu, Jia Zheng, Zixin Zhang, Xiaojun Yuan et al.ICCV 2023 · 12 citations
  3. CAD Translator: An Effective Drive for Text to 3D Parametric Computer-Aided Design Generative ModelingXueyang Li, Yu Song, Yunzhong Lou, Xiangdong ZhouACM MM 2024 · 16 citations
  4. UniSketch: A Unified Framework for Parametric Sketch Generation and Constraint PredictionJing Lin, Fazhi He, Rubin FanAAAI 2026
  5. Free2CAD: parsing freehand drawings into CAD commandsChangjian Li, Hao Pan, Adrien Bousseau, Niloy J. MitraSIGGRAPH 2022 · 100 citations
Dusk over the sea between two cliffs drawn in fine vertical lines