An open API service indexing awesome lists of open source software.

https://github.com/filapro/cad-recode

CAD-Recode: Reverse Engineering CAD Code from Point Clouds
https://github.com/filapro/cad-recode

cad cadquery llm pytorch qwen2

Last synced: about 1 year ago
JSON representation

CAD-Recode: Reverse Engineering CAD Code from Point Clouds

Awesome Lists containing this project

README

          

## CAD-Recode: Reverse Engineering CAD Code from Point Clouds

:hugs: Model [v1](https://huggingface.co/filapro/cad-recode), [v1.5](https://huggingface.co/filapro/cad-recode-v1.5) :hugs: ZeroGPU Space [v1.5](https://huggingface.co/spaces/filapro/cad-recode) :hugs: Dataset [v1](https://huggingface.co/datasets/filapro/cad-recode), [v1.5](https://huggingface.co/datasets/filapro/cad-recode-v1.5)

**News**:
* :rocket: March, 2025. We update CAD-Recode to v1.5. More details in [changelog](CHANGELOG.md).
* :fire: December, 2024. CAD-Recode is state-of-the-art in three CAD reconstruction benchmarks:

DeepCAD [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/cad-recode-reverse-engineering-cad-code-from/cad-reconstruction-on-deepcad)](https://paperswithcode.com/sota/cad-reconstruction-on-deepcad?p=cad-recode-reverse-engineering-cad-code-from)

Fusion360 [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/cad-recode-reverse-engineering-cad-code-from/cad-reconstruction-on-fusion-360-gallery)](https://paperswithcode.com/sota/cad-reconstruction-on-fusion-360-gallery?p=cad-recode-reverse-engineering-cad-code-from)

CC3D [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/cad-recode-reverse-engineering-cad-code-from/cad-reconstruction-on-cc3d)](https://paperswithcode.com/sota/cad-reconstruction-on-cc3d?p=cad-recode-reverse-engineering-cad-code-from)

This repository contains an implementation of CAD-Recode, a 3D CAD reverse engineering method introduced in our paper:

> **CAD-Recode: Reverse Engineering CAD Code from Point Clouds**

> [Danila Rukhovich](https://github.com/filaPro),
> [Elona Dupont](https://scholar.google.com/citations?user=i9J6YFMAAAAJ),
> [Dimitrios Mallis](https://scholar.google.com/citations?user=Gfc5ZXoAAAAJ),
> [Kseniya Cherenkova](https://scholar.google.com/citations?user=VepvFBkAAAAJ),
> [Anis Kacem](https://scholar.google.com/citations?user=K3EWusMAAAAJ),
> [Djamila Aouada](https://scholar.google.com/citations?user=WBmJVSkAAAAJ)

> Univesity of Luxembourg

> https://arxiv.org/abs/2412.14042

### Inference Demo

CAD-Recode transforms point cloud to 3D CAD model in form of Python code ([CadQuery](https://github.com/CadQuery/cadquery) library). CAD-Recode is trained upon Qwen2-1.5B, keeping original tokenizer, and adding a single additional linear layer.
In this repo we provide simple inference demo. Install python packages according to our [Dockerfile](Dockerfile) and run [demo.ipynb](demo.ipynb) in jupyter.


CAD-Reocde scheme



CAD-Recode predictions

### Citation

If you find this work useful for your research, please cite our paper:

```
@article{rukhovich2024cadrecode,
title={CAD-Recode: Reverse Engineering CAD Code from Point Clouds},
author={Danila Rukhovich, Elona Dupont, Dimitrios Mallis, Kseniya Cherenkova, Anis Kacem, Djamila Aouada},
journal={arXiv preprint arXiv:2412.14042},
year={2024}
}
```