CADMorph: Geometry-Driven Parametric CAD Editing via a Plan-Generate-Verify Loop
By: Weijian Ma , Shizhao Sun , Ruiyu Wang and more
A Computer-Aided Design (CAD) model encodes an object in two coupled forms: a parametric construction sequence and its resulting visible geometric shape. During iterative design, adjustments to the geometric shape inevitably require synchronized edits to the underlying parametric sequence, called geometry-driven parametric CAD editing. The task calls for 1) preserving the original sequence's structure, 2) ensuring each edit's semantic validity, and 3) maintaining high shape fidelity to the target shape, all under scarce editing data triplets. We present CADMorph, an iterative plan-generate-verify framework that orchestrates pretrained domain-specific foundation models during inference: a parameter-to-shape (P2S) latent diffusion model and a masked-parameter-prediction (MPP) model. In the planning stage, cross-attention maps from the P2S model pinpoint the segments that need modification and offer editing masks. The MPP model then infills these masks with semantically valid edits in the generation stage. During verification, the P2S model embeds each candidate sequence in shape-latent space, measures its distance to the target shape, and selects the closest one. The three stages leverage the inherent geometric consciousness and design knowledge in pretrained priors, and thus tackle structure preservation, semantic validity, and shape fidelity respectively. Besides, both P2S and MPP models are trained without triplet data, bypassing the data-scarcity bottleneck. CADMorph surpasses GPT-4o and specialized CAD baselines, and supports downstream applications such as iterative editing and reverse-engineering enhancement.
Similar Papers
Generative Parametric Design (GPD): A framework for real-time geometry generation and on-the-fly multiparametric approximation
Computational Engineering, Finance, and Science
Creates new designs and their solutions automatically.
Drawing2CAD: Sequence-to-Sequence Learning for CAD Generation from Vector Drawings
CV and Pattern Recognition
Turns 2D drawings into 3D computer models.
GACO-CAD: Geometry-Augmented and Conciseness-Optimized CAD Model Generation from Single Image
CV and Pattern Recognition
Turns drawings into 3D models for building.