3D generation research index
BrepGen
BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry
One-minute overview
BrepGen generates editable CAD boundary representations. It denoises a tree of faces, edges and vertices, then recovers shared topology by merging duplicate nodes and fits trimmed surfaces in a CAD kernel.
Research problem and inputs and outputs
A B-rep combines trimmed parametric surfaces and curves with topological links that specify boundaries. The task is to generate both parts, including freeform geometry, so they can be assembled into a solid.
Generate geometry and connectivity required by a native CAD solid
- Inputs
- Random noise for unconditional sampling. The authors also demonstrate optional furniture class labels and sets of partial input faces for completion.
- Outputs
- A native single-body CAD B-rep, represented by trimmed parametric faces, shared edge curves, vertices and their incidence relations. Some generated candidates fail the watertightness check.
Original paper figure
Figure 2, 3 · arXiv:2401.15563v3
Credit · Xiang Xu et al.
Method step by step
Sample faces on their 2D parameter domain and edge curves along a 1D domain. Normalize the samples and encode them with separate convolutional VAEs. Keep global bounding boxes apart from local shape, and pack endpoint coordinates with the edge representation.
Sample and compress local face and edge geometryDuplicate an edge under each incident face and a vertex under each incident edge. Add further copies of nodes under the same parent up to the target branching width to accommodate different part counts.
Turn shared topology into repeats in a treeUse four transformer denoisers for face boxes, face geometry, edge boxes and joint edge–vertex geometry. Later features depend on earlier ones. Inject the face features into its child edge tokens through the known tree index.
Denoise the face and edge–vertex branches in sequencePrune near-duplicate nodes under the same parent and identify shared edges and vertices across parents. Average matching vertices, align curve endpoints and adjust sampled surfaces to their incident edges.
Merge repeats and align geometry to the recovered topologyApproximate sampled faces and edges with B-spline surfaces and curves. Close edge loops, trim the incident faces and sew them into the final B-rep.
Fit and trim parametric geometry in OpenCascade
Key design choices
Across-parent repeats represent shared geometry, while within-parent repeats fill variable branch lengths. Detecting duplicate geometry recovers the corresponding topology and avoids separately predicting discrete incidence matrices.
Use two kinds of duplication for different relationshipsDuring face denoising, replace a random subset of tokens with the corresponding noisy geometry from user-provided faces. Stop replacement during the final 50 steps to let the model adjust those faces while completing the solid.
Use a pretrained model for partial-face completion
How to read the experiments
Datasets and protocol
Use the original DeepCAD split with filters that leave 87,815 training B-reps, and apply new 90/5/5 splits to ABC and the furniture collection. Section 5 describes the full 6,171-model furniture dataset across 10 categories; the training setup further filters its examples.
Evaluate mechanical parts, industrial CAD and furnitureBaselines
The DeepCAD benchmark compares the DeepCAD sequence model, the SolidGen direct generator and BrepGen. Separate experiments condition generation on reference topology or attempt to generate topology separately with multinomial diffusion.
Compare direct B-rep and sketch-and-extrude generationMetrics
Use 3,000 generated B-reps and 1,000 references for distribution metrics, with 2,000 surface points per object. Measure coverage against the reference set, minimum matching distance as the mean Chamfer distance from each reference shape to its nearest generated shape, and Jensen–Shannon divergence on voxelized samples. Novelty and uniqueness are evaluated among valid B-reps, and validity requires watertight solids.
Measure shape similarity and solid validity separatelyResults
DeepCAD / SolidGen / BrepGen yield coverage of 65.46% / 71.03% / 73.87% and valid ratios of 46.1% / 60.3% / 62.9%, averaged across 20 runs. MMD ×100 is 1.29 / 1.08 / 1.04 and JSD ×100 is 1.67 / 1.31 / 1.28. BrepGen’s separate ABC row gives 57.92% coverage and 48.2% validity.
Improve DeepCAD distribution scores and valid-solid yieldTrade-offs
Editorial readingConditioning on ground-truth topology raises DeepCAD validity from 62.9% to 79.8% and coverage from 73.87% to 78.16%, under a stronger input assumption. The independently generated topology baseline passes its own incidence checks on 6.2% of outputs. Section 6.1.3 reports about five seconds for four denoisers on an RTX A5000 for DeepCAD and ten seconds for the larger ABC or furniture settings. These times describe denoising, before CAD fitting.
Separate the reference-topology advantage from unconditional production
Limitations and use boundaries
The method supports single bodies. Very close faces or edges can merge under duplicate detection, and the model cannot guarantee closed or valid solids.
Single-body support and geometric tolerances constrain the outputFailure modes include missing faces that leave gaps, self-intersecting edges or faces, and irregular geometry caused by noisy samples or poor agreement between surfaces and boundaries.
Denoising and geometry fitting can produce invalid boundaries- Editorial reading
The authors allow the given faces to move toward the end of denoising and show a case where the leg radius increases. Completion does not act as an exact constraint on user geometry.
Completion may change user-supplied geometry
Fixed version and section references
Read fixed-version paper · arXiv:2401.15563v3 · Source reviewed
Experiments were reported by the authors. The editorial analysis cites their evidence.
- Research problem and inputs and outputs Generate geometry and connectivity required by a native CAD solid
- Method step by step Sample and compress local face and edge geometry · Turn shared topology into repeats in a tree · Denoise the face and edge–vertex branches in sequence · Merge repeats and align geometry to the recovered topology · Fit and trim parametric geometry in OpenCascade
- Key design choices Use two kinds of duplication for different relationships · Use a pretrained model for partial-face completion
- How to read the experiments Evaluate mechanical parts, industrial CAD and furniture · Compare direct B-rep and sketch-and-extrude generation · Measure shape similarity and solid validity separately · Improve DeepCAD distribution scores and valid-solid yield · Separate the reference-topology advantage from unconditional production
- Limitations and use boundaries Single-body support and geometric tolerances constrain the output · Denoising and geometry fitting can produce invalid boundaries · Completion may change user-supplied geometry
- Original paper figure Figure in paper 2 · Figure in paper 3

