cs.CVApr 9, 2026

TOOLCAD: Exploring Tool-Using Large Language Models in Text-to-CAD Generation with Reinforcement Learning

Authors: Yifei Gong, Xing Wu, Wenda Liu, Kang Tu

Organizations: School of Computer Engineering & Science, Shanghai University

Abstract

Computer-Aided Design (CAD) is an expert-level task that relies on long-horizon reasoning and coherent modeling actions. Large Language Models (LLMs) have shown remarkable advancements in enabling language agents to tackle real-world tasks. Notably, there has been no investigation into how tool-using LLMs optimally interact with CAD engines, hindering the emergence of LLM-based agentic text-to-CAD modeling systems. We propose ToolCAD, a novel agentic CAD framework deploying LLMs as tool-using agents for text-to-CAD generation. Furthermore, we introduce an interactive CAD modeling gym to rollout reasoning and tool-augmented interaction trajectories with the CAD engine, incorporating hybrid feedback and human supervision. Meanwhile, an end-to-end post-training strategy is presented to enable the LLM agent to elicit refined CAD Modeling Chain of Thought (CAD-CoT) and evolve into proficient CAD tool-using agents via online curriculum reinforcement learning. Our findings demonstrate ToolCAD fills the gap in adopting and training open-source LLMs for CAD tool-using agents, enabling them to perform comparably to proprietary models, paving the way for more accessible and robust autonomous text-to-CAD modeling systems.

Figures & tables

Appendix figures & tables18 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PR-CAD: Progressive Refinement for Unified Controllable and Faithful Text-to-CAD Generation with Large Language Models

    Mar 27, 2026Jiyuan An, Jiachen Zhao, Fan Chen +6Text-to-CAD GenerationGenerative Modeling

  2. RA-CAD: Learning Post-Execution Critique for State-Aware Text-to-CAD Generation

    Aug 6, 2026Shuhao Yan, Changhao He, Peng Hu +1RL for Code GenerationCode Generation

  3. Memory-Augmented Reinforcement Learning Agent for CAD Generation

    May 19, 2026Yin Xiaolong, Liu Yu, Shen Jiahang +4Text-to-CAD GenerationRL for Generative Models