Papers › BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry

BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry

28 Jan 2024arXiv:2401.15563archive 2025-07-28

Xiang Xu, Joseph G. Lambourne, Pradeep Kumar Jayaraman, Zhengqing Wang, Karl D. D. Willis, Yasutaka Furukawa

This paper presents BrepGen, a diffusion-based generative approach that directly outputs a Boundary representation (B-rep) Computer-Aided Design (CAD) model. BrepGen represents a B-rep model as a novel structured latent geometry in a hierarchical tree. With the root node representing a whole CAD solid, each element of a B-rep model (i.e., a face, an edge, or a vertex) progressively turns into a child-node from top to bottom. B-rep geometry information goes into the nodes as the global bounding box of each primitive along with a latent code describing the local geometric shape. The B-rep topology information is implicitly represented by node duplication. When two faces share an edge, the edge curve will appear twice in the tree, and a T-junction vertex with three incident edges appears six times in the tree with identical node features. Starting from the root and progressing to the leaf, BrepGen employs Transformer-based diffusion models to sequentially denoise node features while duplicated nodes are detected and merged, recovering the B-Rep topology information. Extensive experiments show that BrepGen advances the task of CAD B-rep generation, surpassing existing methods on various benchmarks. Results on our newly collected furniture dataset further showcase its exceptional capability in generating complicated geometry. While previous methods were limited to generating simple prismatic shapes, BrepGen incorporates free-form and doubly-curved surfaces for the first time. Additional applications of BrepGen include CAD autocomplete and design interpolation. The code, pretrained models, and dataset are available at https://github.com/samxuxiang/BrepGen.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.15563")

Code

Syntology Ran 9 of 13 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

samxuxiang/brepgen officialmentioned in papermentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 9 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
8ran
4unverified

Licence: 13 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from samxuxiang/brepgen. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_bbox_center_and_size samxuxiang/brepgen/utils.py official repository ran fingerprinted licence not identified · pointer only · 467737664dd3b630 · report
filter_data samxuxiang/brepgen/dataset.py official repository ran licence not identified · pointer only · 69210f5cf001181d · report
find_files samxuxiang/brepgen/pc_metric.py official repository ran · our draft was wrong no licence file found · pointer only · 680bb1e97d16d80c · report
generate_random_string samxuxiang/brepgen/utils.py official repository ran fingerprinted licence not identified · pointer only · 62e1cadfe8f7ca4c · report
get_bbox samxuxiang/brepgen/data_process/convert_utils.py official repository ran fingerprinted licence not identified · pointer only · b8f6f43364c78a51 · report
get_bbox_norm samxuxiang/brepgen/utils.py official repository ran licence not identified · pointer only · 1b0bbdbce5515f92 · report
load_data_with_prefix samxuxiang/brepgen/sample_points.py official repository ran fingerprinted licence not identified · pointer only · 59ccbe6bf4d350db · report
real2bit samxuxiang/brepgen/data_process/convert_utils.py official repository ran licence not identified · pointer only · 7354c1e367e367b0 · report
sincos_embedding samxuxiang/brepgen/network.py official repository ran fingerprinted licence not identified · pointer only · 3adcfa420d6e7d66 · report
distChamfer samxuxiang/brepgen/pc_metric.py official repository unverified no licence file found · pointer only · 9a578f2a671a37e4 · report
load_abc_pkl samxuxiang/brepgen/data_process/convert_utils.py official repository unverified licence not identified · pointer only · adecd2724a1ed940 · report
load_data samxuxiang/brepgen/dataset.py official repository unverified licence not identified · pointer only · 057519078110ca1d · report
read_ply samxuxiang/brepgen/pc_metric.py official repository unverified no licence file found · pointer only · 7ea8042cb1e765a6 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections