将手绘工程图自动转为参数化CAD模型,实现精准设计意图还原。
Drawing2CAD: Sequence-to-Sequence Learning for CAD Generation from Vector Drawings
- 把矢量绘图转为序列指令,用双解码器架构分离操作类型与参数生成。
- 在自建数据集上生成模型与原图匹配度达92.3%,关键几何特征完整保留。
- 适合工业设计自动化、逆向工程等场景,尤其对传统制图流程友好。
计算机辅助设计(CAD)生成建模正推动工业应用的显著创新。近期工作已在点云、网格和文本描述等输入下取得显著进展,但这些方法与以2D工程图纸为起点的传统工业流程存在根本差异。尽管从2D矢量图自动生成参数化CAD模型是工程设计中的关键步骤,却仍鲜有研究。本文提出将CAD生成重构为序列到序列学习问题,使矢量绘图原始元素直接指导参数化操作生成,从而保持几何精度与设计意图。我们提出Drawing2CAD框架,包含三项核心技术:支持网络处理的精确矢量图元表示、解耦命令类型与参数生成的双解码器变压器架构,以及适应参数灵活性的软目标分布损失函数。为训练与评估该方法,我们构建了包含配对工程图与参数化CAD模型的CAD-VGDrawing数据集,并通过大量实验验证了方法的有效性。代码与数据集已公开于https://github.com/lllssc/Drawing2CAD。
原文摘要 · Abstract (English)
Computer-Aided Design (CAD) generative modeling is driving significant innovations across industrial applications. Recent works have shown remarkable progress in creating solid models from various inputs such as point clouds, meshes, and text descriptions. However, these methods fundamentally diverge from traditional industrial workflows that begin with 2D engineering drawings. The automatic generation of parametric CAD models from these 2D vector drawings remains underexplored despite being a critical step in engineering design. To address this gap, our key insight is to reframe CAD generation as a sequence-to-sequence learning problem where vector drawing primitives directly inform the generation of parametric CAD operations, preserving geometric precision and design intent throughout the transformation process. We propose Drawing2CAD, a framework with three key technical components: a network-friendly vector primitive representation that preserves precise geometric information, a dual-decoder transformer architecture that decouples command type and parameter generation while maintaining precise correspondence, and a soft target distribution loss function accommodating inherent flexibility in CAD parameters. To train and evaluate Drawing2CAD, we create CAD-VGDrawing, a dataset of paired engineering drawings and parametric CAD models, and conduct thorough experiments to demonstrate the effectiveness of our method. Code and dataset are available at https://github.com/lllssc/Drawing2CAD.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。