Aligning Constraint Generation with Design Intent in Parametric CAD
Evan Casey, Tianyu Zhang, Shu Ishida, John Roger Thompson, Amir Khasahmadi, Joseph George Lambourne, Pradeep Kumar Jayaraman, Karl D. D. Willis
Abstract
We adapt alignment techniques from reasoning LLMs to the task of generating engineering sketch constraints found in computer-aided design (CAD) models. Engineering sketches consist of geometric primitives (e.g. points, lines) connected by constraints (e.g. perpendicular, tangent) that define the relationships between them. For a design to be easily editable, the constraints must effectively capture design intent, ensuring the geometry updates predictably when parameters change. Although current approaches can generate CAD designs, an open challenge remains to align model outputs with design intent, we label this problem 'design alignment'. A critical first step towards aligning generative CAD models is to generate constraints which fully-constrain all geometric primitives, without over-constraining or distorting sketch geometry. Using alignment techniques to train an existing constraint generation model with feedback from a constraint solver, we are able to fully-constrain 93% of sketches compared to 34% when using a naive supervised fine-tuning (SFT) baseline and only 8.9% without SFT. Our approach can be applied to any existing constraint generation model and sets the stage for further research bridging alignment strategies between the language and design domains. Additional results can be found at https://autodeskailab.github.io/aligning-constraint-generation/.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MiCADangelo: Fine-Grained Reconstruction of Constrained CAD Models from 3D Scans cites Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
- DualBrep: A Dual-Field Continuous Representation for B-rep Modelling cites Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
- Direct Preference Optimization: Your Language Model is Secretly a Reward Model cites Training language models to follow instructions with human feedback
- ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generation cites Training language models to follow instructions with human feedback
- ReCAD: Reinforcement Learning Enhanced Parametric CAD Model Generation with Vision-Language Models cites Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequences
- ReCAD: Reinforcement Learning Enhanced Parametric CAD Model Generation with Vision-Language Models cites Direct Preference Optimization: Your Language Model is Secretly a Reward Model
- Bidirectional Query-Driven Generation of Parametric CAD Sketch cites MiCADangelo: Fine-Grained Reconstruction of Constrained CAD Models from 3D Scans
- Training Diffusion Models with Reinforcement Learning cites ImageReward: Learning and Evaluating Human Preferences for Text-to-Image Generation
- Training Diffusion Models with Reinforcement Learning cites Training language models to follow instructions with human feedback
Cited by top-tier papers4
- MiCADangelo: Fine-Grained Reconstruction of Constrained CAD Models from 3D ScansAhmet Serdar Karadeniz, Dimitrios Mallis, Danila Rukhovich, Kseniya Cherenkova et al.NeurIPS 2025 · 4 citations
- ReCAD: Reinforcement Learning Enhanced Parametric CAD Model Generation with Vision-Language ModelsJiahao Li, Yusheng Luo, Yunzhong Lou, Xiangdong ZhouAAAI 2026 · 4 citations
- DualBrep: A Dual-Field Continuous Representation for B-rep ModellingYilin Liu, Pradeep Kumar Jayaraman, Chinthala Reddy, Xiang Xu et al.SIGGRAPH 2026
- Bidirectional Query-Driven Generation of Parametric CAD SketchYang Liu, Daxuan Ren, Yijie Ding, Jianmin Zheng et al.CVPR 2026
Builds on13
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning et al.NeurIPS 2023 · 10,924 citations
- ImageReward: Learning and Evaluating Human Preferences for Text-to-Image GenerationJiazheng Xu, Xiao Liu, Yuchen Wu, Yuxuan Tong et al.NeurIPS 2023 · 1,310 citations
- Training Diffusion Models with Reinforcement LearningKevin Black, Michael Janner, Yilun Du, Ilya Kostrikov et al.ICLR 2024 · 816 citations
- Fusion 360 gallery: a dataset and environment for programmatic CAD construction from human design sequencesKarl D. D. Willis, Yewen Pu, Jieliang Luo, Hang Chu et al.SIGGRAPH 2021 · 197 citations
Related papers
- SketchGen: Generating Constrained CAD SketchesWamiq Reyaz Para, Shariq Farooq Bhat, Paul Guerrero, Tom Kelly et al.NeurIPS 2021 · 114 citations
- Vitruvion: A Generative Model of Parametric CAD SketchesAri Seff, Wenda Zhou, Nick Richardson, Ryan P. AdamsICLR 2022 · 86 citations
- UniSketch: A Unified Framework for Parametric Sketch Generation and Constraint PredictionJing Lin, Fazhi He, Rubin FanAAAI 2026
- FlexCAD: Unified and Versatile Controllable CAD Generation with Fine-tuned Large Language ModelsZhanwei Zhang, Shizhao Sun, Wenxiao Wang, Deng Cai et al.ICLR 2025
- Multi-Agent CAD Code GenerationYang Liu, Daxuan Ren, Yijie Ding, Jianmin Zheng et al.SIGGRAPH 2026
