CAD-Recode: Reverse Engineering CAD Code from Point Clouds
Abstract
Computer-Aided Design (CAD) models are typically constructed by sequentially drawing parametric sketches and applying CAD operations to obtain a 3D model. The problem of 3D CAD reverse engineering consists of reconstructing the sketch and CAD operation sequences from 3D representations such as point clouds. In this paper, we address this challenge through novel contributions across three levels: CAD sequence representation, network design, and dataset. In particular, we represent CAD sketch-extrude sequences as Python code. The proposed CAD-Recode translates a point cloud into Python code that, when executed, reconstructs the CAD model. Taking advantage of the exposure of pre-trained Large Language Models (LLMs) to Python code, we leverage a relatively small LLM as a decoder for CAD-Recode and combine it with a lightweight point cloud projector. CAD-Recode is trained solely on a proposed synthetic dataset of one million diverse CAD sequences. CAD-Recode significantly outperforms existing methods across three datasets while requiring fewer input points. Notably, it achieves 10 times lower mean Chamfer distance than state-of-the-art methods on DeepCAD and Fusion360 datasets. Furthermore, we show that our CAD Python code output is interpretable by off-the-shelf LLMs, enabling CAD editing and CAD-specific question answering from point clouds.
Community
CAD-Recode: Reverse Engineering CAD Code from Point Clouds
CAD-Recode transforms point cloud to 3D CAD model in form of valid Python code. CAD-Recode is based on Qwen2-1.5B adding a single linear layer to it. CAD-Recode demonstrates 10 times better results that previous methods on DeepCAD, Fusion360, and CC3D datasets.
Inference demo: https://github.com/filaPro/cad-recode.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- CAD-MLLM: Unifying Multimodality-Conditioned CAD Generation With MLLM (2024)
- DAVINCI: A Single-Stage Architecture for Constrained CAD Sketch Inference (2024)
- Rendering-Oriented 3D Point Cloud Attribute Compression using Sparse Tensor-based Transformer (2024)
- Constraint Learning for Parametric Point Cloud (2024)
- PerLA: Perceptive 3D Language Assistant (2024)
- From 2D CAD Drawings to 3D Parametric Models: A Vision-Language Approach (2024)
- Point-GR: Graph Residual Point Cloud Network for 3D Object Classification and Segmentation (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 1
Datasets citing this paper 0
No dataset linking this paper