Papers
arxiv:2412.14042

CAD-Recode: Reverse Engineering CAD Code from Point Clouds

Published on Dec 18
· Submitted by filapro on Dec 19
Authors:
,
,
,

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

Paper author Paper submitter

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

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

Sign up or log in to comment

Models citing this paper 1

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2412.14042 in a dataset README.md to link it from this page.

Spaces citing this paper 2

Collections including this paper 1