cs.CVNov 21, 2026

OrthoLatentCAD: Orthographic Spatial Latents for Hand-Drawn CAD Program Generation

Authors: Xiaolei Zhou, Xinjie Zhu, Chuangjie Fang, Chenyu Wang, Jianwei Zheng

Organizations: Zhejiang University of Technology

Abstract

Freehand orthographic drawings capture early design intent, yet recovering executable sketch--extrude CAD programs from raster front, right, and top views remains challenging: noisy, dimension-free 2D layouts must be reconciled into an ordered construction history. We introduce Hand2CAD, a benchmark of 215K ABC-derived synthetic orthographic-drawing--CAD program pairs and 1,000 real three-view sets drawn by CAD-trained participants. Recovering CAD programs from orthographic drawings requires both cross-view geometric reasoning and alignment between visual features and program representations. We propose OrthoLatentCAD to address these two challenges. It fuses local geometry with global context on canonical planes, exchanges evidence between paired plane lines indexed by the same shared-axis coordinate, and maps the spatial representation to ordered program latents through queries inherited from a frozen CAD autoencoder. Across the evaluated one- to three-view configurations, OrthoLatentCAD outperforms protocol-matched baselines in procedural accuracy, compiled geometry, and CAD-kernel validity while benefiting from additional views. Without real-data fine-tuning, it also outperforms the baselines on held-out real drawings. We will release the dataset, code, and evaluation scripts.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. CADBench: A Multimodal Benchmark for AI-Assisted CAD Program Generation

    May 11, 2026Anna C. Doris, Jacob Thomas Sony, Ghadi Nehme +33D ReconstructionParametric CAD Modeling

  2. Blueprint2CAD: Benchmarking Foundation Models on Engineering Drawing-to-CAD Render Correspondence

    Nov 2, 2026Alexander Valverde, Danny Xie-Li, Zhichao Wang +1VLM EvaluationCross-View Image Matching