DualBrep: A Dual-Field Continuous Representation for B-rep Modelling
PDF 由论文原始站点提供,PaperCompass 不保存论文文件。DOI 10.1145/3799902.3811057 ↗
摘要
Boundary Representation (B-rep) is the most commonly used data format in Computer-Aided Design (CAD) due to its analytical precision and direct support for parametric editing. However, its heterogeneous data structure— continuous parametric geometry with discrete topological graphs—poses fundamental challenges for deep learning models. Existing methods often directly predict the heterogeneous B-rep graph, relying on fixed-size padding or sequential tokenization to handle the varying cardinality of the geometric primitives. These approaches struggle with the combinatorial complexity of CAD models. The discrete, non-differentiable nature of the graph data structure prevents end-to-end optimization of the geometry and watertightness. In this work we introduce DualBrep, a novel continuous representation that unifies B-rep geometry and topology within a fully structured Euclidean domain. DualBrep encodes a CAD model using dual scalar fields: a Signed Distance Function (SDF) to represent the global shape geometry, and an Unsigned Distance Field (UDF) that implicitly encodes the topological structure via a Voronoi partitioning of the surface elements. Rather than processing these fields independently, we compress them into a single latent space. While the dual-field formulation alone already gives reconstruction a flexible, primitive-free segmentation signal that adapts to arbitrary face counts and surface types, the shared latent also makes generation tractable: a Flow Matching model can sample geometry and topology jointly from a single code, avoiding the error accumulation that plagues sequential or autoregressive B-rep predictors. Finally, we use a neural rebuilder to extract explicit B-rep models—comprising both prismatic and free-form primitives—directly from our continuous dual scalar fields. We demonstrate that DualBrep serves as a robust, unified backbone for CAD B-rep learning, achieving strong performance in both reverse engineering from raw point clouds and generative modeling via latent flow matching. Code is available at https://github.com/AutodeskAILab/DualBrep.