Skip to content
AI News HubLIVE
Original source2 min read

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

Summary

Drawing-Recode is a framework that recovers parametric CAD sequences as structured CAD code from raster 2D CAD drawings. It extracts geometric features with an image encoder, recognizes annotations with a separate text module, and explicitly grounds annotations to geometry using cross-attention and an Annotation Grounding Loss before an LLM generates SPCC-format code. Experiments show it outperforms baselines and remains robust on scanned industrial-like drawings.

SourcearXiv Computer VisionAuthor: Mingi Kim, Yongjun Kim, Hyungki Kim
Drawing-Recode: Annotation Grounding for Parametric CAD Code Generation from Raster 2D CAD Drawings
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 30 Jul 2026]

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

View a PDF of the paper titled Drawing-Recode: Annotation Grounding for Parametric CAD Code Generation from Raster 2D CAD Drawings, by Mingi Kim and 2 other authors

View PDF HTML (experimental)

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.

Subjects:

Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI)

Cite as: arXiv:2607.27558 [cs.CV]

(or arXiv:2607.27558v1 [cs.CV] for this version)

https://doi.org/10.48550/arXiv.2607.27558

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Hyungki Kim [view email] [v1] Thu, 30 Jul 2026 01:05:27 UTC (471 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Drawing-Recode: Annotation Grounding for Parametric CAD Code Generation from Raster 2D CAD Drawings, by Mingi Kim and 2 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.CV

new | recent | 2026-07

Change to browse by:

cs cs.AI

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Targets legacy raster 2D CAD drawings and recovers parametric CAD sequences as CAD code.
  • Uses separate geometry and text recognition paths with cross-attention and a proposed Annotation Grounding Loss to explicitly link dimensions to geometry.
  • Feeds grounded features to an LLM to generate Structured Parametric CAD Code, outperforming baselines and remaining robust on scanned drawings.

Highlights and analysis are generated automatically and may contain errors. Check the original source.