CADIR: A Cross-Backend Editable Intermediate Representation for Agentic CAD Generation

Yu Liu, Jingzhe Ni, Yiming Chen, Junqi Huang, Ruofeng Tong +2 more
8/1/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Large language models have made it possible to generate executable computer-aided design (CAD) programs from natural-language descriptions or images. However, existing methods represent modeling processes as backend-specific sequential scripts with implicit dependencies or as static geometry, making it difficult to simultaneously preserve construction history, stable topological references, and feature-level editability across different CAD systems.

Show full abstract

We present CADIR, an agent-friendly executable intermediate representation for CAD generation and cross-backend editing. Built on the OCCT geometry kernel via OCP, CADIR provides explicit, compositional modeling operations and fine-grained execution diagnostics. During program execution, CADIR records modeling operations, parameter dependencies, constraints, and topology selections in a construction graph. To enable reliable cross-backend reconstruction, we introduce Geometric Signature Matching, which identifies corresponding edges and faces despite parameter changes and backend differences, allowing adapters to reconstruct native editable feature histories in FreeCAD, SolidWorks, and Fusion 360. Building on this representation, we further propose a construction-graph retrieval method for text and image queries that supports both full-graph and subgraph retrieval, enabling agents to leverage complete models and modeling substructures. Extensive experiments demonstrate that CADIR achieves higher geometric fidelity and execution reliability than existing CAD representations, that construction-graph retrieval further improves model generation quality, and that cross-backend editing enables reliable model reconstruction and post-reconstruction editing across multiple CAD environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026cadir,
  title  = {CADIR: A Cross-Backend Editable Intermediate Representation for Agentic CAD Generation},
  author = {Yu Liu and Jingzhe Ni and Yiming Chen and Junqi Huang and Ruofeng Tong and Min Tang and Peng Du},
  year   = {2026},
  eprint = {2608.00891},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.00891v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.00891.svg)](https://codeofpaper.com/paper/2608.00891)

Discussion