We introduce CADFS, a data-centric framework that enables large vision-language models to generate complex CAD design histories. Existing generative CAD systems are restricted to sketch-extrude operations due to simplified representations and limited datasets. We address this by introducing a FeatureScript-based representation and constructing a dataset of 450k real-world CAD models spanning 15 modeling operations. We obtain the dataset via a new pipeline that reconstructs clean, executable FeatureScript programs and provides multimodal annotations. Fine-tuning a VLM on this representation yields state-of-the-art results in text-conditioned CAD generation and image-based reconstruction, producing more accurate, diverse, and feature-rich designs than prior frameworks. Ablations show that each individual component of our framework, i.e., the FeatureScript representation, the extended operation set, and representation-aligned textual descriptions, significantly improves performance. Our framework substantially broadens the complexity and realism achievable in generative CAD.
CADFS: A Big CAD Program Dataset and Framework for Computer-Aided Design with Large Language Models
- 1Applied AI Institute
- 2AI Foundation and Algorithm Lab
- 3AXXX
- 4KAUST
CVPR 2026
Method
1. Reconstruct executable CAD programs
We recover compact FeatureScript programs from Onshape models by making sketch parameters explicit, standardizing units, and simplifying queries, identifiers, and operation definitions. Each program is executed and checked against its source model, and only successful reconstructions are retained.
2. Annotate the design history
An LLM annotator describes the construction process from the recovered code. A second LLM reviews the draft against the code and FeatureScript documentation, correcting terminology, operation order, and references to geometric entities.
3. Train for text and image inputs
We fine-tune Qwen2-VL to generate FeatureScript from textual descriptions or multi-view images with dimensional information. The generated program compiles into CAD geometry while preserving an editable sequence of modeling operations.
Text-conditioned generation
We evaluate text-conditioned generation on the CADFS test set across a broad range of modeling operations, and on the DeepCAD test set for designs built using sketch-and-extrude operations.
Bevel selected edges.
CADFS
Download STEP1 / 1
Drag any model to rotate both views together. Use + / − to zoom, or Reset view to return to the starting angle.
CADFS input text
1 / 20
Drag any model to rotate all four views together. Use + / − to zoom, or Reset view to return to the starting angle.
CADFS input text
Image-conditioned reconstruction
We also evaluate our method on image-conditioned reconstruction of CAD models featuring complex modeling operations from the CADFS test set.
Bevel selected edges.
Drag any model to rotate all four views together. Use + / − to zoom, or Reset view to return to the starting angle.
Input views
The source image contains multiple views of the same object.
BibTeX
@InProceedings{pyatov2026cadfs,
author = {Pyatov, Vladislav and Bobrovskikh, Gleb and Galochkin, Saveliy and Boldyrev, Nikita and Voynov, Oleg and Filippov, Alexander and Ferrer, Gonzalo and Wonka, Peter and Burnaev, Evgeny},
title = {CADFS: A Big CAD Program Dataset and Framework for Computer-Aided Design with Large Language Models},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2026},
pages = {10176-10186}
} 





























