Split-and-Fit: Learning B-Reps via Structure-Aware Voronoi Partitioning

Yilin Liu, Jiale Chen, Shanshan Pan, Daniel Cohen-Or, Hao Zhang, Hui Huang

Introduction

Reconstructing Boundary Representation (B-Rep) models from unstructured 3D data, such as point clouds, remains a fundamental challenge in Computer-Aided Design (CAD). Unlike meshes or point clouds, B-Reps define solids through a structured assembly of parametric surfaces (faces), curves (edges), and vertices, maintaining explicit topological relationships. Traditional "bottom-up" reconstruction methods often struggle with fragmented outputs or redundant primitives due to the difficulty of clustering noisy points and stitching them into a coherent whole.

"Split-and-Fit" proposes a paradigm shift: a top-down approach that first partitions the volumetric space into regions, each corresponding to a single B-Rep primitive. By leveraging the duality between Voronoi diagrams and B-Rep structures, this method simplifies complex reconstruction into manageable, single-primitive fitting tasks.

Methodology: The Split-and-Fit Pipeline

The core of the proposed method is a two-stage process that flips the traditional reconstruction pipeline.

Overview of the Split-and-Fit pipeline, showing the transition from input points to Voronoi partitioning and final B-Rep reconstruction.

1. The Split (NVD-Net)

Instead of identifying primitives directly, the system uses a Neural Voronoi Diagram Network (NVD-Net) to predict the Voronoi boundaries of the shape. A Voronoi partition divides 3D space such that each cell contains exactly one B-Rep primitive. NVD-Net takes a voxelized Unsigned Distance Field (UDF) as input and performs binary classification to identify voxels on Voronoi boundaries. This global spatial partition avoids the local minima and combinatorial explosion common in bottom-up clustering.

2. The Fit

Once the space is partitioned, region growing identifies individual Voronoi cells. The system then fits a single elementary primitive (plane, sphere, cylinder, cone, or torus) into each cell using a least-squares approach. Because the cells are pre-defined, the primitives are automatically trimmed by the cell boundaries. Topological connectivity—how faces meet at edges and vertices—is extracted directly from the adjacency of these Voronoi cells.

Illustration of the topological connectivity (vertices, edges, and faces) derived from the Voronoi-based partitioning.

Key Insights

The "Split-and-Fit" approach relies on several critical observations:

  • Voronoi Duality: Voronoi diagrams are the natural dual to B-Rep structures. Predicting the partition explicitly reveals the number of primitives and their connectivity before fitting occurs.
  • Eliminating Ambiguity: Unlike Constructive Solid Geometry (CSG) representations, which can be non-unique, the Voronoi diagram for a set of ground-truth primitives is unique, providing a stable target for neural network training.
  • Structure-Awareness: By predicting boundaries based on local geometric cues, such as discontinuities in distance field derivatives, the network generalizes effectively to unseen shapes.

Experimental Results

The method was evaluated using the ABC dataset, a large-scale collection of CAD models. Training involved 20,000 models, while testing was conducted on 1,000 models featuring various primitive types.

"Split-and-Fit" significantly outperformed state-of-the-art baselines (ComplexGen, HPNet, SEDNet) in both geometric and topological metrics:

  • Geometric Accuracy: Achieved a vertex Chamfer Distance (CD) of 0.0327, a nearly 3x improvement over ComplexGen (0.0901).
  • Topological Consistency: Reached an F1-score of 0.778 for surface-curve connectivity, surpassing the next best method (0.739).
  • Robustness: Qualitative results demonstrated cleaner models with sharper features and plausible intersections, even on high-genus structures and real-world scans with noise.

Conclusion and Future Work

While "Split-and-Fit" marks a significant advancement, it faces limitations related to voxelization. The 256³ grid resolution can cause the loss of very thin structures or tiny primitives. Additionally, while NVD-Net handles complex B-Spline boundaries, analytical fitting for these surfaces remains a challenge. Future research may explore implicit functions to represent Voronoi diagrams, potentially bypassing voxel resolution constraints and further improving reconstruction fidelity.

Summary updated

BibTeX
@article{liu2024split,
  author = {Yilin Liu and Jiale Chen and Shanshan Pan and Daniel Cohen-Or and Hao Zhang and Hui Huang},
  title = {{Split-and-Fit: Learning B-Reps via Structure-Aware Voronoi Partitioning}},
  journal = {ACM Trans. Graphics},
  year = {2024},
  url = {https://openreview.net/forum?id=Qtad6i2Jkp},
}
Figure