cad-recode

cad-recode

CAD-Recode: Reverse Engineering CAD Code from Point Clouds

Stars: 85

Visit
 screenshot

CAD-Recode is a 3D CAD reverse engineering method implemented in Python using the CadQuery library. It transforms point clouds into 3D CAD models by leveraging a pre-trained model and additional linear layers. The repository includes an inference demo for users to generate CAD models from point clouds. CAD-Recode has achieved state-of-the-art performance in CAD reconstruction benchmarks such as DeepCAD, Fusion360, and CC3D. Researchers and engineers can utilize this tool to reverse engineer CAD code from point clouds efficiently.

README:

CAD-Recode: Reverse Engineering CAD Code from Point Clouds

🤗 Model v1, v1.5 🤗 ZeroGPU Space v1 🤗 Dataset v1, v1.5

News:

  • 🚀 March, 2025. We update CAD-Recode to v1.5. More details in changelog.
  • 🔥 December, 2024. CAD-Recode is state-of-the-art in three CAD reconstruction benchmarks:
    DeepCAD PWC
    Fusion360 PWC
    CC3D PWC

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, Elona Dupont, Dimitrios Mallis, Kseniya Cherenkova, Anis Kacem, Djamila Aouada
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 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 and run 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}
}

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for cad-recode

Similar Open Source Tools

For similar tasks

For similar jobs