FlexCAD: Unified and Versatile Controllable CAD Generation with Fine-tuned Large Language Models
Not on the map. Why?
Abstract (arXiv)
Recently, there is a growing interest in creating computer-aided design (CAD) models based on user intent, known as controllable CAD generation. Existing work offers limited controllability and needs separate models for different types of control, reducing efficiency and practicality. To achieve controllable generation across all CAD construction hierarchies, such as sketch-extrusion, extrusion, sketch, face, loop and curve, we propose FlexCAD, a unified model by fine-tuning large language models (LLMs). First, to enhance comprehension by LLMs, we represent a CAD model as a structured text by abstracting each hierarchy as a sequence of text tokens. Second, to address various controllable generation tasks in a unified model, we introduce a hierarchy-aware masking strategy. Specifically, during training, we mask a hierarchy-aware field in the CAD text with a mask token. This field, composed of a sequence of tokens, can be set flexibly to represent various hierarchies. Subsequently, we ask LLMs to predict this masked field. During inference, the user intent is converted into a CAD text with a mask token replacing the part the user wants to modify, which is then fed into FlexCAD to generate new CAD models. Comprehensive experiments on public dataset demonstrate the effectiveness of FlexCAD in both generation quality and controllability. Code will be available at https://github.com/microsoft/FlexCAD.
Key facts. Cited by 34 papers in the map (data through 14 Oct 2026). Builds on 29 of its 39 references that are in the map. First posted on arXiv 5 Nov 2024.
Builds on
29 of 39 references.
References · 29
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Visual Instruction Tuningcited by 7,869
- 2017Neural Discrete Representation Learningcited by 4,712
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2019CCNet: Extracting High Quality Monolingual Datasets from Web Crawl Datacited by 548
- 2023MotionGPT: Human Motion as a Foreign Languagecited by 527
- 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 272
- 2021DeepCAD: A Deep Generative Network for Computer-Aided Design Modelscited by 271
- 2022SkexGen: Autoregressive Generation of CAD Construction Sequences with Disentangled Codebookscited by 125
17 more
- 2024BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometrycited by 103
- 2023Cheap and Quick: Efficient Vision-Language Instruction Tuning for Large Language Modelscited by 101
- 2024Fine-Tuned Language Models Generate Stable Inorganic Materials as Textcited by 93
- 2023Hierarchical Neural Coding for Controllable CAD Model Generationcited by 86
- 2021Computer-Aided Design as Languagecited by 82
- 2022SolidGen: An Autoregressive Model for Direct B-rep Synthesiscited by 80
- 2020UCSG-Net -- Unsupervised Discovering of Constructive Solid Geometry Treecited by 78
- 2023Fine-tuning Multimodal LLMs to Follow Zero-shot Demonstrative Instructionscited by 77
- 2024CAD-SIGNet: CAD Language Inference from Point Clouds using Layer-wise Sketch Instance Guided Attentioncited by 64
- 2021CAPRI-Net: Learning Compact CAD Shapes with Adaptive Primitive Assemblycited by 62
- 2021CSG-Stump: A Learning Friendly CSG-Like Representation for Interpretable Shape Parsingcited by 51
- 2023SECAD-Net: Self-Supervised CAD Reconstruction by Learning Sketch-Extrude Operationscited by 46
- 2023How Can Large Language Models Help Humans in Design and Manufacturing?cited by 41
- 2023D2CSG: Unsupervised Learning of Compact CSG Trees with Dual Complements and Dropoutscited by 40
- 2024DataGen: Unified Synthetic Dataset Generation via Large Language Modelscited by 23
- 2022Neural Face Identification in a 2D Wireframe Projection of a Manifold Objectcited by 18
- 2024LLaMA-Excitor: General Instruction Tuning via Indirect Feature Interactioncited by 3
Built on by
Citing papers per year: 2025: 13; 2026: 21.
34 papers.
Sort:
By area:
- 2025CSBrain: A Cross-scale Spatiotemporal Brain Foundation Model for EEG Decodingcited by 53
- 2025Text-to-CAD Generation Through Infusing Visual Feedback in Large Language Modelscited by 47
- 2025CADmium: Fine-Tuning Code Language Models for Text-Driven Sequential CAD Designcited by 25
- 2025Seek-CAD: A Self-refined Generative Modeling for 3D Parametric CAD Using Local Inference via DeepSeekcited by 24
- 2025cadrille: Multi-modal CAD Reconstruction with Reinforcement Learningcited by 16
- 2026Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces Selectioncited by 11
- 2026Text-to-CAD Evaluation with CADTestscited by 10
- 2026Zero-to-CAD: Agentic Synthesis of Interpretable CAD Programs at Million-Scale Without Real Datacited by 8
- 2026Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generationcited by 7
- 2026CADReasoner: Iterative Program Editing for CAD Reverse Engineeringcited by 6
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Modelscited by 5
- 2026PR-CAD: Progressive Refinement for Unified Controllable and Faithful Text-to-CAD Generation with Large Language Modelscited by 3
22 more
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2025CADKnitter: Compositional CAD Generation from Text and Geometry Guidancecited by 2
- 2026ComAct: Reframing Professional Software Manipulation via COM-as-Action Paradigmcited by 2
- 2025CAD-Tokenizer: Towards Text-based CAD Prototyping via Modality-Specific Tokenizationcited by 1
- 2025MamTiff-CAD: Multi-Scale Latent Diffusion with Mamba+ for Complex Parametric Sequencecited by 1
- 2025BrepLLM: Enabling Large Language Models to Understand Boundary Representationscited by 1
- 2026STEP-LLM: Generating CAD STEP Models from Natural Language with Large Language Modelscited by 1
- 2026SOV-CAD: Stepwise Orthographic Views Guided CAD Modeling Sequence Reconstructioncited by 1
- 2026HierCAD: Hierarchical Text-to-CAD Design via Structure Alignment and Parameter Groundingcited by 1
- 2025GraphBrep: Learning B-Rep in Graph Structure for Efficient CAD Generationcited by 0
- 2025CADMorph: Geometry-Driven Parametric CAD Editing via a Plan-Generate-Verify Loopcited by 0
- 2026Learning Hierarchical and Geometry-Aware Graph Representations for Text-to-CADcited by 0
- 2026Computer-Aided Design Generation by Cascaded Discrete Diffusion Modelcited by 0
- 2026Text-to-CAD Retrieval: a Strong Baselinecited by 0
- 2026KDH-CAD: Knowledge-data hybrid CAD learning under data scarcitycited by 0
- 2026Wrong Design Intent Is Worse Than Never Conditioning: A Derangement-Control Diagnosis of Header Conditioning in CAD Program Completioncited by 0
- 2026AIMold: An Autonomous AI-based Pipeline for Complex Mold Designcited by 0
- 2026Test-Time Scaling for CAD Generation via Verifier-Free Consensus Selectioncited by 0
- 2026LLM-Aided Design for Manufacturing: A Multi-Agent System for Intent-Preserving Redesign of CAD for Improved Manufacturabilitycited by 0
- 2026VGGT-CAD: Reconstructing Parametric CAD 3D Model with Geometric Groundingcited by 0
- 2026AgenticCADedit: A Stateful, Tool-Mediated Agentic Approach to Multimodal 3D CAD Editingcited by 0
- 2026Rethinking Human Intent-to-CAD: Parametric CAD Model Generation via Cooperative Multi-Task Alignment and Spatial-Aware Reinforcement Learningcited by 0
- 2026Rethinking Human Intent-to-CAD: Parametric CAD Model Generation via Cooperative Multi-Task Alignment and Spatial-Aware Reinforcement Learning11 Oct 2026
- 2026VGGT-CAD: Reconstructing Parametric CAD 3D Model with Geometric Grounding18 Sep 2026
- 2026LLM-Aided Design for Manufacturing: A Multi-Agent System for Intent-Preserving Redesign of CAD for Improved Manufacturability3 Sep 2026
- 2026AgenticCADedit: A Stateful, Tool-Mediated Agentic Approach to Multimodal 3D CAD Editing28 Aug 2026
- 2026Test-Time Scaling for CAD Generation via Verifier-Free Consensus Selection10 Aug 2026
- 2026AIMold: An Autonomous AI-based Pipeline for Complex Mold Design1 Aug 2026
- 2026Wrong Design Intent Is Worse Than Never Conditioning: A Derangement-Control Diagnosis of Header Conditioning in CAD Program Completion25 Jul 2026
- 2026HierCAD: Hierarchical Text-to-CAD Design via Structure Alignment and Parameter Grounding13 Jul 2026
- 2026SOV-CAD: Stepwise Orthographic Views Guided CAD Modeling Sequence Reconstruction5 Jul 2026
- 2026ComAct: Reframing Professional Software Manipulation via COM-as-Action Paradigm11 Jun 2026
- 2026KDH-CAD: Knowledge-data hybrid CAD learning under data scarcity1 Jun 2026
- 2026Text-to-CAD Evaluation with CADTests8 May 2026
22 more
- 2026Text-to-CAD Retrieval: a Strong Baseline7 May 2026
- 2026Computer-Aided Design Generation by Cascaded Discrete Diffusion Model6 May 2026
- 2026Zero-to-CAD: Agentic Synthesis of Interpretable CAD Programs at Million-Scale Without Real Data27 Apr 2026
- 2026Learning Hierarchical and Geometry-Aware Graph Representations for Text-to-CAD11 Apr 2026
- 2026PR-CAD: Progressive Refinement for Unified Controllable and Faithful Text-to-CAD Generation with Large Language Models27 Mar 2026
- 2026Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces Selection4 Mar 2026
- 2026CADReasoner: Iterative Program Editing for CAD Reverse Engineering18 Feb 2026
- 2026Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generation3 Feb 2026
- 2026STEP-LLM: Generating CAD STEP Models from Natural Language with Large Language Models19 Jan 2026
- 2025BrepLLM: Enabling Large Language Models to Understand Boundary Representations18 Dec 2025
- 2025CADMorph: Geometry-Driven Parametric CAD Editing via a Plan-Generate-Verify Loop12 Dec 2025
- 2025CADKnitter: Compositional CAD Generation from Text and Geometry Guidance12 Dec 2025
- 2025MamTiff-CAD: Multi-Scale Latent Diffusion with Mamba+ for Complex Parametric Sequence20 Nov 2025
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025CAD-Tokenizer: Towards Text-based CAD Prototyping via Modality-Specific Tokenization25 Sep 2025
- 2025CADmium: Fine-Tuning Code Language Models for Text-Driven Sequential CAD Design13 Jul 2025
- 2025GraphBrep: Learning B-Rep in Graph Structure for Efficient CAD Generation7 Jul 2025
- 2025CSBrain: A Cross-scale Spatiotemporal Brain Foundation Model for EEG Decoding29 Jun 2025
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Models12 Jun 2025
- 2025cadrille: Multi-modal CAD Reconstruction with Reinforcement Learning28 May 2025
- 2025Seek-CAD: A Self-refined Generative Modeling for 3D Parametric CAD Using Local Inference via DeepSeek23 May 2025
- 2025Text-to-CAD Generation Through Infusing Visual Feedback in Large Language Models31 Jan 2025
- 2026Zero-to-CAD: Agentic Synthesis of Interpretable CAD Programs at Million-Scale Without Real Datacited by 8
- 2026Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generationcited by 7
- 2026ComAct: Reframing Professional Software Manipulation via COM-as-Action Paradigmcited by 2
- 2026LLM-Aided Design for Manufacturing: A Multi-Agent System for Intent-Preserving Redesign of CAD for Improved Manufacturabilitycited by 0
- 2026AgenticCADedit: A Stateful, Tool-Mediated Agentic Approach to Multimodal 3D CAD Editingcited by 0
- 2026LLM-Aided Design for Manufacturing: A Multi-Agent System for Intent-Preserving Redesign of CAD for Improved Manufacturability3 Sep 2026
- 2026AgenticCADedit: A Stateful, Tool-Mediated Agentic Approach to Multimodal 3D CAD Editing28 Aug 2026
- 2026ComAct: Reframing Professional Software Manipulation via COM-as-Action Paradigm11 Jun 2026
- 2026Zero-to-CAD: Agentic Synthesis of Interpretable CAD Programs at Million-Scale Without Real Data27 Apr 2026
- 2026Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generation3 Feb 2026
- 2025Seek-CAD: A Self-refined Generative Modeling for 3D Parametric CAD Using Local Inference via DeepSeekcited by 24
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agentscited by 2
- 2026Test-Time Scaling for CAD Generation via Verifier-Free Consensus Selectioncited by 0
- 2026Test-Time Scaling for CAD Generation via Verifier-Free Consensus Selection10 Aug 2026
- 2025Empowering Real-World: A Survey on the Technology, Practice, and Evaluation of LLM-driven Industry Agents20 Oct 2025
- 2025Seek-CAD: A Self-refined Generative Modeling for 3D Parametric CAD Using Local Inference via DeepSeek23 May 2025
- 2025CSBrain: A Cross-scale Spatiotemporal Brain Foundation Model for EEG Decodingcited by 53
- 2025Text-to-CAD Generation Through Infusing Visual Feedback in Large Language Modelscited by 47
- 2025CADmium: Fine-Tuning Code Language Models for Text-Driven Sequential CAD Designcited by 25
- 2026Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces Selectioncited by 11
- 2026Text-to-CAD Evaluation with CADTestscited by 10
- 2026CADReasoner: Iterative Program Editing for CAD Reverse Engineeringcited by 6
- 2025GeoCAD: Local Geometry-Controllable CAD Generation with Large Language Modelscited by 5
- 2026PR-CAD: Progressive Refinement for Unified Controllable and Faithful Text-to-CAD Generation with Large Language Modelscited by 3
- 2025CADKnitter: Compositional CAD Generation from Text and Geometry Guidancecited by 2
- 2025CAD-Tokenizer: Towards Text-based CAD Prototyping via Modality-Specific Tokenizationcited by 1
- 2025BrepLLM: Enabling Large Language Models to Understand Boundary Representationscited by 1
- 2026STEP-LLM: Generating CAD STEP Models from Natural Language with Large Language Modelscited by 1
12 most cited of 22 All 22 (JSON)
- 2026Rethinking Human Intent-to-CAD: Parametric CAD Model Generation via Cooperative Multi-Task Alignment and Spatial-Aware Reinforcement Learning11 Oct 2026
- 2026VGGT-CAD: Reconstructing Parametric CAD 3D Model with Geometric Grounding18 Sep 2026
- 2026AIMold: An Autonomous AI-based Pipeline for Complex Mold Design1 Aug 2026
- 2026Wrong Design Intent Is Worse Than Never Conditioning: A Derangement-Control Diagnosis of Header Conditioning in CAD Program Completion25 Jul 2026
- 2026HierCAD: Hierarchical Text-to-CAD Design via Structure Alignment and Parameter Grounding13 Jul 2026
- 2026KDH-CAD: Knowledge-data hybrid CAD learning under data scarcity1 Jun 2026
- 2026Text-to-CAD Evaluation with CADTests8 May 2026
- 2026Text-to-CAD Retrieval: a Strong Baseline7 May 2026
- 2026Learning Hierarchical and Geometry-Aware Graph Representations for Text-to-CAD11 Apr 2026
- 2026PR-CAD: Progressive Refinement for Unified Controllable and Faithful Text-to-CAD Generation with Large Language Models27 Mar 2026
- 2026Pointer-CAD: Unifying B-Rep and Command Sequences via Pointer-based Edges & Faces Selection4 Mar 2026
- 2026CADReasoner: Iterative Program Editing for CAD Reverse Engineering18 Feb 2026
12 newest of 22 All 22 (JSON)