All models

BrepGen

Diffusion model that generates CAD solids in B-rep format by denoising a tree of faces, edges and vertices.

3D and point clouds · 2,844 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,844 operations (75 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
357.5M
Operations
2,844
Framework
PyTorch
Recurrent
No
Published
SIGGRAPH 2024
Cited by
68 (as of 3 November 2026)
Authors
Xiang Xu, Joseph G. Lambourne, Pradeep Kumar Jayaraman and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14996
Graph hash
7c7dad5a1dea42fda11ff7f8a31873164b586bf89d25bdca411c41b733b15d58
Skeleton hash
d560cfc9b86d4d512315aea59aa4f96a260adfd5d4104c7166fba9650631f7d0
Architecture hash
6e9a6f15573346fbfc65f92cdca298e35b04fcf26a917b4685cab7653c1cca5c
Diagram SHA-256
928ec8aa161dc0146a394fa8cda76b7b08d3bcf582444d51664c0f1e942a8963
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

BrepGen is a diffusion-based generative model that directly outputs a CAD model in boundary representation (B-rep), the format that describes a solid through its faces, edges and vertices. Earlier CAD generative models mostly avoided direct B-rep generation and focused on sketch and extrude modeling operations.

BrepGen represents a B-rep as a tree: the root is the whole solid, and faces, edges and vertices become child nodes from top to bottom. Each node stores the global bounding box of its primitive and a latent code for the local shape. Topology is stored implicitly by duplicating nodes, so an edge shared by two faces appears twice in the tree. Two VAEs compress face and edge shape features into latent vectors, and a latent diffusion module denoises the node features from root to leaf. The four denoising networks share a common Transformer backbone, with 12 self-attention layers and 12 heads. During denoising, duplicated nodes are detected and merged to recover the topology.

On unconditional generation of DeepCAD mechanical parts, the paper reports a coverage of 73.87% for BrepGen, against 71.03% for SolidGen and 65.46% for DeepCAD. For that dataset, B-reps with more than 30 faces or 20 edges per face are removed. The paper also introduces the Furniture B-rep Dataset, with 6,171 B-rep CAD models across 10 common furniture categories. On an RTX A5000 GPU, the four denoisers take around 5 seconds on average to generate a B-rep when trained on DeepCAD data.

Key idea. BrepGen encodes B-rep geometry and topology together in a tree of latent node features with duplicated nodes, so a diffusion model that regresses continuous geometry also recovers discrete topology.

  • BrepGen
  • B-rep generation
  • boundary representation
  • CAD generation
  • CAD B-rep
  • structured latent geometry
  • B-rep diffusion model
  • Furniture B-rep Dataset
  • 3D CAD generative model

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{xu2024brepgenbrepgenerativediffusion,
      title={BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry}, 
      author={Xiang Xu and Joseph G. Lambourne and Pradeep Kumar Jayaraman and Zhengqing Wang and Karl D. D. Willis and Yasutaka Furukawa},
      year={2024},
      eprint={2401.15563},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2401.15563}, 
}