Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Img2CADSeq
|
| 2 |
+
|
| 3 |
+
**[SIGGRAPH 2026] Img2CADSeq: Image-to-CAD Generation via Sequence-Based Diffusion**
|
| 4 |
+
|
| 5 |
+
[](https://rilpraa0110.github.io/Img2CADSeq/)
|
| 6 |
+
[](https://arxiv.org/abs/2605.13293)
|
| 7 |
+
[](https://github.com/Rilpraa0110/Img2CADSeq)
|
| 8 |
+
|
| 9 |
+
Official repository for **Img2CADSeq**, a pipeline that outputs standardized STEP files.
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## ๐ Abstract
|
| 14 |
+
|
| 15 |
+
Boundary Representation (BRep) is the standard format for Computer-Aided Design (CAD), yet reconstructing high-quality BReps from single-view images remains challenging due to the complexity of topological constraints and operation sequences.
|
| 16 |
+
|
| 17 |
+
We present **Img2CADSeq**, a multi-stage pipeline that overcomes these limitations by encoding CAD sequences into a three-level hierarchical codebook. Guided by an importance prioritization, this strategy values profiles over details, compressing long sequences into a stable discrete latent space. To bridge the modality gap, we leverage a coarse-to-fine point cloud intermediate, aligning 2D visual features with 3D CAD sequences via contrastive learning to condition a VQ-Diffusion model.
|
| 18 |
+
|
| 19 |
+
Supported by newly introduced **CAD-220K** and **PrintCAD** datasets, our approach ensures robust industrial domain adaptation. Extensive experiments demonstrate that Img2CADSeq significantly outperforms state-of-the-art methods, producing standard STEP files that can be directly used in commercial CAD software.
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## ๐ Datasets
|
| 24 |
+
|
| 25 |
+
To train and evaluate our framework, we introduce two distinct data types: curated synthetic models and real-world captured objects. Both datasets are exclusively utilized to fine-tune our image-to-point-cloud module, ensuring that the point cloud embeddings align with the CAD latent space.
|
| 26 |
+
|
| 27 |
+
### CAD-220K (Synthetic)
|
| 28 |
+
To support the point cloud lifting stage, we utilize CAD-220K, a curated subset of the ABC dataset filtered by surface count. Observing that models with 11โ50 faces constitute the vast majority (339,489 in total), we proportionally downsample the data to establish balanced complexity tiers:
|
| 29 |
+
* **40K** models (1โ10 faces)
|
| 30 |
+
* **120K** models (11โ50 faces)
|
| 31 |
+
* **30K** models (51โ100 faces)
|
| 32 |
+
* **30K** models (>100 faces)
|
| 33 |
+
|
| 34 |
+
For these 220K models, we generate the corresponding STLs, point clouds, and four-view rendered images.
|
| 35 |
+
> ๐ **Repository Files:** The filtered surface count lists and selected IDs for the CAD-220K dataset are available in this repository as `all_surfs_result.csv` and `all_surfs_result.json`.
|
| 36 |
+
|
| 37 |
+
### PrintCAD (Real-world)
|
| 38 |
+
To explore sim-to-real translation, we introduce PrintCAD, a collection of over 2,000 3D-printed solids. For each model, we systematically capture four views under real-world lighting. These objects exhibit manufacturing artifacts and texture noise, offering an evaluation of model robustness beyond synthetic renders.
|
| 39 |
+
> ๐ **Repository Files:** The complete PrintCAD dataset is available for download in this repository as `PrintCAD.zip`.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## โ๏ธ Workflow Overview
|
| 44 |
+
|
| 45 |
+
At the base level, the **Curve-Cluster** parameterizes geometric primitives, which form closed loops in the **Sketch-Patch**. These loops are then lifted into 3D space via a normal vector and origin to perform extrusion and Boolean operations, resulting in an **Extrude-Block**. Multiple blocks are finally assembled to yield the target solid. This process mirrors the construction history of standard CAD workflows, preserving human design intent.
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## ๐ Citation
|
| 50 |
+
|
| 51 |
+
If you find our work or datasets useful in your research, please consider citing:
|
| 52 |
+
|
| 53 |
+
```bibtex
|
| 54 |
+
@article{tan2026img2cadseq,
|
| 55 |
+
title={Img2CADSeq: Image-to-CAD Generation via Sequence-Based Diffusion},
|
| 56 |
+
author={Tan, Shiyu and Zhao, Zixuan and Gao, Hao and Chen, Zhiheng and Yin, Xiaolong and Shen, Enya},
|
| 57 |
+
journal={arXiv preprint arXiv:2605.13293},
|
| 58 |
+
year={2026}
|
| 59 |
+
}
|