Abstract
Converting raw 3D point clouds into editable CAD models remains a significant challenge due to the lack of structural information in point data. This paper introduces a robust pipeline for extracting parametric wireframes by leveraging scalar distance fields. Unlike previous methods that rely on brittle binary edge classification, the proposed approach uses a "soft" signal representing the distance to the nearest sharp edge. The pipeline involves corner detection, curve segmentation, topological graph construction, and spline optimization. Experimental results on the ABC dataset show a 5x improvement in accuracy and a significantly lower failure rate compared to state-of-the-art deep learning baselines.
Introduction
In industrial design and engineering, 3D scanners provide high-density point clouds that are difficult to manipulate directly. The transition to usable CAD geometry requires the extraction of a "wireframe"—the skeleton of sharp edges defining the object's structure. Traditional methods often fail because they treat edge detection as a hard classification problem, leading to disconnected or noisy results. This research addresses these issues by proposing a geometry-aware framework based on continuous distance fields.
Methodology
The proposed system utilizes a four-stage pipeline driven by a Distance-to-Feature Field, which is estimated using a neural network called a Deep Feature Estimator (DEF).
- Corner Detection: The point cloud is sampled, and Principal Component Analysis (PCA) is applied to local neighborhoods. Areas with high variance ratios are identified as potential geometric corners.
- Curve Segmentation: Once corners are isolated, the remaining edge points are grouped into disconnected clusters using $k$-Nearest Neighbor ($k$-NN) graphs.
- Topological Graph Construction: A skeleton graph is generated by connecting curve endpoints to detected corners. Recursive subdivision ensures the graph accurately reflects the underlying geometry.
- Spline Fitting and Optimization: The graph is transformed into parametric splines. These splines are optimized such that they align with the "zero level" of the distance field, ensuring high geometric fidelity.
Experimental Evaluation
The method was evaluated against the ABC dataset, focusing on 50 complex CAD models with diverse surface types and sharp angles. The performance was compared to PIE-Net, a leading deep learning baseline.
Key Results
The proposed method demonstrated superior performance across all primary metrics:
- Accuracy: Achieved a Chamfer distance of 0.07, compared to 0.34 for PIE-Net.
- Worst-case Error: The Hausdorff distance was reduced to 0.6 from PIE-Net's 1.45.
- Reliability: The pipeline successfully processed 88% of test shapes, whereas PIE-Net failed on 66% of the same set.
Discussion and Insights
The primary innovation lies in the use of Distance Fields over hard labels. This provides a continuous optimization landscape, allowing the spline-fitting process to converge more reliably even with sparse data. Furthermore, by decoupling topology (the graph) from geometry (the splines), the method ensures "watertight" connectivity, avoiding the common "floating edge" artifacts seen in local detection methods.
Conclusion and Future Work
This work provides a robust foundation for automated CAD reconstruction. While highly effective, the current pipeline requires manual tuning of certain parameters. Future research will explore making these parameters learnable to improve generalizability across noisier, real-world datasets such as LIDAR scans.
Summary updated