[Paper Review] ComplexGen: CAD Reconstruction by B-Rep Chain Complex Generation
ComplexGen proposes a novel framework for reconstructing complete, structured CAD models from point clouds by modeling the boundary representation (B-Rep) as a chain complex of geometric primitives—vertices, curves, and patches—along with their topological relationships. It uses a transformer-based neural network to jointly detect primitives and their topology, followed by global optimization enforcing structural validity, resulting in more accurate, complete, and regularized B-Rep models than prior methods.
We view the reconstruction of CAD models in the boundary representation (B-Rep) as the detection of geometric primitives of different orders, i.e. vertices, edges and surface patches, and the correspondence of primitives, which are holistically modeled as a chain complex, and show that by modeling such comprehensive structures more complete and regularized reconstructions can be achieved. We solve the complex generation problem in two steps. First, we propose a novel neural framework that consists of a sparse CNN encoder for input point cloud processing and a tri-path transformer decoder for generating geometric primitives and their mutual relationships with estimated probabilities. Second, given the probabilistic structure predicted by the neural network, we recover a definite B-Rep chain complex by solving a global optimization maximizing the likelihood under structural validness constraints and applying geometric refinements. Extensive tests on large scale CAD datasets demonstrate that the modeling of B-Rep chain complex structure enables more accurate detection for learning and more constrained reconstruction for optimization, leading to structurally more faithful and complete CAD B-Rep models than previous results.
Motivation & Objective
- To address the limitation of existing CAD reconstruction methods that fail to jointly detect geometric primitives (corners, curves, patches) and their topology, leading to incomplete or inconsistent models.
- To model the full B-Rep structure as a chain complex, leveraging topological constraints to improve reconstruction fidelity and completeness.
- To develop a learning-and-optimization pipeline that enables end-to-end, structure-aware CAD reconstruction from unstructured point clouds.
- To improve detection accuracy and topology consistency by explicitly modeling mutual relationships between primitives through a multi-path transformer decoder.
- To achieve more regularized and valid B-Rep models by enforcing structural constraints during geometric refinement.
Proposed method
- A sparse CNN encoder processes the input point cloud to extract spatial features, enabling efficient handling of sparse 3D data.
- A tri-path transformer decoder generates three types of primitives—corners, curves, and surface patches—along with their mutual adjacency relationships using shared attention mechanisms for cross-path communication.
- The network outputs probabilistic predictions for each primitive and their topological connections, enabling uncertainty-aware reconstruction.
- A global optimization step extracts a valid B-Rep chain complex by maximizing likelihood under structural constraints such as closed boundary loops and manifold edges.
- Geometric refinement is applied to the optimized complex, enforcing constraints like cylinder/circle perpendicularity and edge continuity to improve accuracy.
- The framework integrates geometric and topological information in a unified optimization objective, ensuring consistency and validity of the final CAD model.
Experimental results
Research questions
- RQ1Can modeling the full B-Rep structure as a chain complex improve the completeness and structural fidelity of CAD reconstruction from point clouds?
- RQ2How does joint prediction of geometric primitives and their topology via a multi-path transformer improve detection accuracy compared to independent or sequential prediction?
- RQ3To what extent can structural constraints from the chain complex representation enhance the validity and regularity of reconstructed CAD models?
- RQ4Can a hybrid learning-and-optimization approach outperform end-to-end learning-only methods in recovering complex, structured B-Rep models?
- RQ5How robust is the method to noisy or partial input point clouds, and what are the main failure modes?
Key findings
- ComplexGen achieves significantly higher validness ratios in topology connection fulfillment, with 97% of test samples achieving over 90% validness under a 0.03 distance threshold.
- The method outperforms baseline approaches in detecting geometric primitives and their topology, especially in recovering missing or incomplete features in noisy or partial point clouds.
- The global optimization step successfully enforces structural constraints such as closed boundary loops and manifold edges, resulting in more regular and consistent B-Rep models.
- Ablation studies show that the multi-path transformer design with cross-path communication improves topology reconstruction accuracy compared to single-path or independent prediction.
- The framework demonstrates robustness to input noise and partial data, with validness analysis identifying that most failures stem from network prediction errors or local optima in optimization.
- The method enables more complete reconstructions by explicitly modeling the interdependence of primitives, reducing structural inconsistencies common in prior approaches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.