cs.CVOct 29, 2026

CAD-WAM: Anticipating Geometry for Text-to-CAD Generation

Authors: Zhengyang Li, Weijie Zheng, Yuxin Cui, Sijie Wang, Wenjie Feng, Qiyu Kang

Organizations: University of Science and Technology of China · Nanyang Technological University

Abstract

Generating editable computer-aided design (CAD) models from text requires selecting operations that produce the intended changes to the geometry constructed so far. An incorrect operation can compromise subsequent steps, making reliable multi-step generation challenging. Existing methods based on large language models (LLMs) primarily learn to predict commands, without explicit supervision of the geometric states those commands should produce. Inspired by world-action models, we introduce CAD-WAM, which couples geometry-conditioned action generation with next-state prediction. We define complete modeling operations as actions in a CAD domain-specific language (DSL) and encode surface point clouds of intermediate solids into compact latent states using a pretrained variational autoencoder. An LLM backbone generates the next action from the target description and current geometric state, while an auxiliary head on the same backbone predicts the next state to provide geometric supervision during training. We construct step-wise training trajectories from parametric CAD models in the DeepCAD dataset, pairing each trajectory with an expert-level textual description. At inference, each generated action is executed by a CAD kernel, and the resulting solid is re-encoded to inform the next decision. On the DeepCAD test set, CAD-WAM outperforms the task-specific baselines in geometric accuracy and output validity, with larger gains on models requiring more operations, and produces more accurate geometry than general-purpose LLMs prompted with the same DSL. Ablations further show that next-state supervision reduces mean Chamfer distance by 13.2% relative to an otherwise identical model trained only to predict actions. Code is available at https://github.com/Lzy-1037/CAD-WAM.

Figures & tables

Appendix figures & tables12 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. Arko-T: A Foundation Model for Text-to-Structured 3D Generation

    Jun 29, 2026Liang Wang, Zhaoyang Xi, Zekai Xiang +53D Foundation ModelsParametric CAD Modeling

  3. GuideCAD: A Lightweight Multimodal Framework for 3D CAD Model Generation via Prefix Embedding

    Jun 5, 2026Minseong Kim, Jinyeong Park, Sungho Park +13D Asset GenerationParametric CAD Modeling