TL;DR
This paper introduces a novel paradigm for CAD generative modeling by reformulating complex Boundary Representations (B-Reps) into an unordered set of "Compositional $k$-Cell Particles." By flattening the rigid topological hierarchy and using a multi-modal flow matching framework, the method enables parallel, joint generation of geometry and topology with global context awareness. This approach significantly reduces sequential error accumulation and seamlessly handles tasks ranging from unconditional synthesis to single-view 3D reconstruction and local editing.
What Problem Does This Paper Address?
Boundary Representation (B-Rep) is the industry standard format for Computer-Aided Design (CAD) and manufacturing. It defines 3D shapes through a combination of continuous geometry (surfaces, curves) and discrete topological relationships ($k$-cells like vertices, edges, and faces). Generative modeling for B-Reps is notoriously difficult because these entities are highly heterogeneous and strictly constrained.
Prior state-of-the-art methods typically rely on progressive or sequential generation (e.g., generating vertices, then edges, then faces autoregressively). This step-wise approach suffers from severe error accumulation: a tiny geometric inaccuracy early in the sequence cascades downstream, resulting in physically impossible shapes, broken loops, or invalid faces. Furthermore, sequential generation lacks a holistic, global view of the object, making downstream editing tasks like local in-painting highly challenging.
Methods
The authors propose shifting the complexity from the network architecture into the data representation itself through two main stages:
- Compositional $k$-Cell Particle (KCP) Representation & CC-VAE: The B-Rep is abstracted into a Spatial Hasse Diagram (where nodes represent cells of varying dimensions and directed edges represent incidence relations). This diagram is "flattened" into an unordered set of particles. Each particle contains a spatial anchor (centroid), a cell type (vertex, edge, or face), and a learned latent feature. A Compositional Cell VAE (CC-VAE) encodes this structure by fusing global surface point clouds with topological context via a Graph Convolutional Network (GCN).
- Compositional Decoding: To ensure geometric continuity, higher-order entities (like faces) do not define boundaries independently; instead, they structurally reuse the decoded particle features of their lower-order neighbors (edges and vertices).
- Rectified Flow Transformer: Instead of an autoregressive model, a scalable set-based Rectified Flow framework is used to model the distribution of these particles, enabling parallel and holistic generation.
Datasets
The model was trained and evaluated on several standard and real-world benchmarks:
- ABC Dataset: A massive dataset of CAD models used for evaluating unconditional generation quality and robustness on complex engineering parts.
- DeepCAD Dataset: Used for benchmarking both unconditional generation and conditional tasks (image and point cloud reconstruction).
- Furniture Dataset: Used specifically to evaluate unconditional wireframe synthesis.
- Roof Dataset: A real-world dataset comprising planar 3D polygonal roof meshes paired with aerial imagery to test generalization to open, non-solid topologies.
Key Insights and Ideas
- Topology is Spatially Embedded: The core insight is that topological connectivity in CAD models is strongly correlated with Euclidean proximity. Discrete relations can therefore be compressed into continuous, spatially localized attributes.
- Breaking the Hierarchy Prevents Cascading Errors: By treating the B-Rep as a coherent particle field rather than a rigid graph hierarchy, the model can predict all elements simultaneously, allowing for global error recovery.
- An Inference-Time "Scaling Law": Because the architecture acts as a set transformer, it can accept a variable number of latent particles at inference time. Simply increasing the number of initial noise tokens at test time significantly boosts the validity and complexity coverage of the generated B-Reps without any retraining.
Key Results
- State-of-the-Art Validity: On the ABC dataset, the method achieved a Validity score of 66.50%, outperforming existing cascaded methods like BRepGen (40.32%) and DTG-BRepGen (62.14%).
- Robustness to Complexity: While baseline methods show a sharp drop-off in validity when generating complex shapes with more than 6 faces, this particle-based approach maintains high validity, proving it can handle intricate engineering details like chamfers and holes.
- Multi-Modal Versatility: The model successfully performs single-view image reconstruction, sparse point cloud reconstruction, and local in-painting (e.g., recovering watertight surfaces given only a skeletal wireframe).
Limitations and Future Work
- Geometric Anomalies: Even in topologically valid samples, minor geometric artifacts like wrinkled faces or boundary violations can still occur.
- Computational Overhead: Explicitly encoding all $k$-cells (vertices, edges, and faces) as individual particles expands the latent space size, which increases computational overhead and may limit scalability for extremely dense shapes.
- Lack of Hard Constraints: The current framework does not explicitly integrate differentiable analytic solvers to enforce strict geometric constraints (e.g., perfect parallelism or exact tangency), which the authors note as an important avenue for future research.
Summary updated