Skip to content
Preprint

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

Aug 2026 · 2 citations · 22 references
Computer Science

TL;DR

CADIR, an agent-friendly executable intermediate representation for CAD generation and cross-backend editing, and 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.

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. 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 source

Similar papers

Book Open access Jul 2026

Multi-Agent CAD Code Generation

Advances in large language models (LLMs) have sparked interest in automating parametric CAD modeling through natural language. Existing LLM-based approaches often treat CAD modeling as flat text generation, overlooking the hierarchical structure and geometric constraints inherent in CAD programs. We present CAD-Factory...

Yang Liu, Daxuan Ren, Yijie Ding et al. · 2 citations · ⚡2
Preprint Aug 2026

aDSL: Agentic 3D Creation via Joint Agent-Program Design

An Agent-centric Domain-Specific Language (aDSL) and a role-specialized multi-agent system to close the gap between programmatic interfaces and reasoning strengths of LLMs, which favor semantic structure and spatial relations over fragile numeric choices.

Rui-Huan Wang, Si-Tong Wei, Jia-Qi He et al. · 2 citations
Preprint Jul 2026

ArtisanCAD: An Industrial-Level CAD Agent with Expert-Grounded Knowledge Distillation

ArtisanCAD is a skill-guided industrial CAD agent with expert-grounded knowledge distillation that enables expert CATIA recordings to be distilled into reusable skills, allowing ArtisanCAD to generate editable CATIA-native B-Rep models for new variant requests.

Yunhan Xu, Qifeng Wu, Xunjin Li et al. · 3 citations · ⚡1
Preprint Jul 2026

Foundation Models for Automatic CAD Generation

LLMForge is introduced, a multi-model text-to-CAD framework integrating JSON-schema validation, analytic feature scoring, mesh synthesis, and multi-round iterative refinement, studied under two critique regimes.

J. Curtò, V. Guillen, I. D. Zarzà · 0 citations
Jul 2026

ReDesign: Recovering Editable Design Structures from Images via Agentic Decomposition

ReDesign is presented, an agentic framework that grows an editable layer hierarchy by selecting and composing specialized tools across modalities, and achieves strong visual fidelity while delivering the highest editability across layout, color, and text edits.

Jooyeol Yun, Jintae Park, Hyesu Lim et al. · 2 citations · ⚡1
Preprint Aug 2026

CADEngBench: It Looks Like CAD, but Does It Work? Evaluating Parametric Design, Assembly Reasoning, and Physics Simulation

The results show that CAD evaluation must test engineering behavior rather than appearance alone, while editing supplied CAD is substantially easier than generating it, while complex edits and matched FEA remain difficult.

Harmanjot Singh, Abhra Dubey, Jorge Alejandro Amador Herrera · 3 citations

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