Skip to content

Drawing-Recode: Annotation Grounding for Parametric CAD Code Generation from Raster 2D CAD Drawings

Jul 2026 · arXiv.org · Vol abs/2607.27558 · 0 citations · 35 references
Computer Science

TL;DR

Drawing-Recode is a framework that generates Parametric CAD sequences as CAD code from raster 2D CAD drawings using a Large Language Model to generate CAD code in the Structured Parametric CAD Code (SPCC) format and is expected to contribute to digitizing raster 2D CAD drawings in industrial settings and to part reproduction and manufacturing automation.

Abstract

Recovering Parametric CAD sequences from raster-format 2D Computer-Aided Design (CAD) drawings accumulated prior to digital transformation is important for part reproduction and manufacturing process automation. However, existing studies either process only vector drawings or are limited to specific domains, and fail to explicitly connect dimensional annotations to geometric information, limiting their use of dimensional information for 3D Parametric CAD sequences recovery. We propose Drawing-Recode, a framework that generates Parametric CAD sequences as CAD code from raster 2D CAD drawings. Drawing-Recode extracts geometric features via an image encoder and recognizes annotations through a separate text recognition module, then explicitly grounds annotations to geometric information using cross-attention and our proposed Annotation Grounding Loss (AGL). The resulting features are fed into a Large Language Model (LLM) to generate CAD code in the Structured Parametric CAD Code (SPCC) format. Experiments show that Drawing-Recode outperforms existing baselines and remains robust on scanned drawings resembling industrial conditions. We expect Drawing-Recode contributes to digitizing raster 2D CAD drawings in industrial settings and to part reproduction and manufacturing automation.

View source

Similar papers

Book Open access Aug 2026

CodeCAD: A Parametric CAD Dataset for Programmatic 3D Model Generation

This work presents a dataset of over 95,000 native OpenSCAD models, primarily containing mechanical parts and engineering components, designed specifically for the programmatic generation of 3D models, and aims to open new opportunities for programmatic 3D model generation.

D. Fresacher, Klaus Diepold · 0 citations
Preprint Sep 2026

DrawingsDreamer: A Unified Multi-View Engineering Drawings Generation Model

Scalable Vector Graphics (SVG) are essential for modern industrial Computer-Aided Design (CAD). However, existing autoregressive SVG generation models are predominantly tailored for artistic creation and struggle to maintain the rigorous geometric fidelity and cross-view spatial alignment required for engineering drawi...

Shu-Rui Liu, Wei-De Chen, Chang Yi et al. · 0 citations
Open access Aug 2026

Hand-drawn sketch to parametric 3D CAD using a multimodal LLM and an intermediate representation

Informal hand-drawn sketches are used in mechanical design to convey information about part geometry, but their translation into parametric 3D CAD models is not fully addressed. Multimodal Large Language Models (LLMs) can interpret visual information and generate executable macros, opening the possibility to support...

D. Popescu, R. Iacob · 0 citations
Preprint Aug 2026

OmniMech: All-in-one Multimodal Mechanical Benchmark for 3D Reconstruction

OmniMech is introduced, the first million-scale benchmark for evaluating VLMs on executable CAD generation from industrial manufacturing data, and experiments show that current VLMs and CAD-specialized models still struggle with executable program synthesis, fine-grained 3D reconstruction, and reliable enforcement of d...

Tai-Ting Lu, Run-Ze Liu, Zi-Wei Dong et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Vision2CAD: A Visual Agent Harness for Explicit Geometry Referencing and Localization in Parametric CAD Modeling

Vision2CAD is presented, a visual agent harness that combines vision-language model (VLM) reasoning with deterministic CAD kernel operations and the Geometry Explicit Reference Dataset (GERD), which aligned commands, geometry states and IDs at every modeling step.

Xi Cheng, Chen-Xi Zhai, Hang Cheng et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.