arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.14042cs.CV
收藏

CAD-Recode:从点云逆向工程生成CAD代码

CAD-Recode: Reverse Engineering CAD Code from Point Clouds

University of Luxembourg(卢森堡大学);SnT, University of Luxembourg(卢森堡大学SnT研究院);Artec3D(Artec3D公司)

Danila Rukhovich, Elona Dupont, Dimitrios Mallis, Kseniya Cherenkova, Anis Kacem, Djamila Aouada

AI总结:

本文提出CAD-Recode,将点云逆向工程转化为Python代码生成任务,利用小型大语言模型作为解码器并结合轻量级点云投影器,在多个数据集上显著超越现有方法,并支持CAD编辑与问答。

摘要:

计算机辅助设计(CAD)模型通常通过依次绘制参数化草图并应用CAD操作来获得三维模型。三维CAD逆向工程问题包括从点云等三维表示中重建草图和CAD操作序列。在本文中,我们通过在三个层面上的新颖贡献来应对这一挑战:CAD序列表示、网络设计和训练数据集。具体而言,我们将CAD草图-拉伸序列表示为Python代码。所提出的CAD-Recode将点云翻译为Python代码,执行该代码即可重建CAD模型。利用预训练大语言模型(LLMs)对Python代码的接触,我们采用一个相对较小的LLM作为CAD-Recode的解码器,并将其与一个轻量级点云投影器相结合。CAD-Recode在一个程序化生成的包含一百万条CAD序列的数据集上进行训练。CAD-Recode在DeepCAD、Fusion360和真实世界CC3D数据集上显著优于现有方法。此外,我们展示了CAD Python代码输出可被现成的LLMs解释,从而支持从点云进行CAD编辑和CAD特定的问答。

英文摘要:

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 training 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 on a procedurally generated dataset of one million CAD sequences. CAD-Recode significantly outperforms existing methods across the DeepCAD, Fusion360 and real-world CC3D 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑