Abstract
Decomposing 3D point clouds into geometric primitives—such as planes, cylinders, and B-splines—is a fundamental task in reverse engineering and shape analysis. Current deep learning approaches often rely on a single feature representation, which may not capture the diverse geometric characteristics of complex CAD models. We present HPNet, a novel architecture that utilizes hybrid representations by combining semantic features with spectral embeddings. By dynamically weighting these features based on their informativeness, HPNet achieves superior segmentation accuracy and cleaner boundaries compared to existing methods.
Introduction
Primitive segmentation involves partitioning a 3D model into basic parametric surfaces. This task is inherently challenging due to the vast search space and the fact that real-world objects often only approximately match mathematical ideals. Traditional methods like RANSAC require manual parameter tuning, while recent deep learning models often struggle with complex shapes because they use a "one-size-fits-all" feature space.
HPNet addresses this by recognizing that different geometric features excel at identifying different shapes. For instance, edge-aware features are ideal for flat planes, while local curvature features better identify curved surfaces like cones. HPNet integrates these diverse signals into a unified framework.
Methodology
The HPNet pipeline is divided into three primary modules that process the input point cloud to produce a final segmentation.
- Dense Descriptor Module: Utilizing a backbone of DGCNN and Point Transformer, this module predicts a semantic feature vector, primitive type probabilities (e.g., sphere, plane, B-spline), and mathematical shape parameters for every point.
- Spectral Embedding Modules: To handle noise in parameter prediction, the network constructs adjacency graphs based on parameter consistency and surface smoothness. The leading eigenvectors of these matrices form "spectral descriptors" that smooth out local errors and respect sharp geometric boundaries.
- Clustering Module: A key innovation is the weighting sub-module, which calculates the entropy of each feature space. Features with lower entropy (indicating tighter, more distinct clusters) are assigned higher weights. Finally, mean-shift clustering is applied to the weighted hybrid features to generate the segmented patches.
Experimental Results
HPNet was evaluated on two major benchmarks: the ANSI Mechanical Component Dataset (basic mechanical parts) and the ABCParts Dataset (complex CAD models with B-spline surfaces).
As shown in the qualitative results, HPNet produces segments that closely align with the ground truth, particularly in maintaining clean boundaries on complex shapes where baselines like SPFN and ParseNet often produce jagged or incorrect partitions.
Quantitatively, HPNet achieved a Segmentation Mean IoU (Seg-IoU) of 94.15% on the ANSI dataset, significantly outperforming ParseNet's 88.57%. On the more challenging ABCParts dataset, HPNet reached 85.24% Seg-IoU. Ablation studies confirmed that the adaptive weighting and smoothness modules are critical for handling diverse and complex geometries.
Conclusion and Future Work
HPNet demonstrates that hybrid representations, combined with adaptive weighting, provide a robust solution for 3D primitive segmentation. The use of spectral embeddings effectively filters noise from raw parameter predictions, while entropy-based weighting allows the model to adapt to varying shape complexities.
A current limitation is the lack of explicit modeling for global structural relationships, such as parallelism or shared radii between distant primitives. Future work will explore the integration of Graph Neural Networks to capture these higher-level architectural constraints, moving closer to full automated reverse engineering of CAD models.
Summary updated