pith. sign in

arxiv: 2606.31579 · v1 · pith:UB6Q4OUFnew · submitted 2026-06-30 · 💻 cs.GR

DualBrep: A Dual-Field Continuous Representation for B-rep Modelling

Pith reviewed 2026-07-01 02:51 UTC · model grok-4.3

classification 💻 cs.GR
keywords B-repCADsigned distance functionunsigned distance fieldVoronoi partitioningflow matchinggenerative modelingneural reconstruction
0
0 comments X

The pith

DualBrep encodes CAD models using dual scalar fields in a shared latent space to enable joint generation of B-rep geometry and topology.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper tries to establish a continuous representation for B-rep that handles both geometry and topology without the problems of discrete graph prediction. It maps the model to a signed distance function for the shape and an unsigned distance field that partitions surfaces with Voronoi cells to capture topology. These fields are compressed into one latent code. A flow matching model then samples from this code and a neural rebuilder turns the fields into explicit B-rep with prismatic and free-form parts. This matters because it could make generative modeling and reverse engineering of CAD models more reliable by avoiding error accumulation in sequential predictions.

Core claim

DualBrep encodes a CAD model using dual scalar fields: a Signed Distance Function representing global shape geometry, and an Unsigned Distance Field implicitly encoding topological structure via a Voronoi partitioning of surface elements. These are compressed into a single latent space from which a Flow Matching model samples geometry and topology jointly. A neural rebuilder extracts explicit B-rep models directly from the continuous dual fields, supporting both prismatic and free-form primitives.

What carries the argument

The dual scalar fields consisting of an SDF for geometry and a UDF for topology via Voronoi partitioning, compressed into a shared latent space for joint sampling and reconstruction.

If this is right

  • Supports arbitrary numbers of faces and surface types without fixed-size padding or sequential tokenization.
  • Allows end-to-end optimization since the representation is fully continuous and differentiable.
  • Enables sampling of complete B-rep models including topology from a single latent code.
  • Provides strong performance in point cloud reverse engineering and generative modeling tasks.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • The approach could be extended to other domains that combine discrete structures with continuous geometry, such as architectural modeling.
  • It may facilitate the creation of hybrid models that mix B-rep with other representations like meshes or voxels in a unified latent space.
  • Testing on larger datasets could reveal if the Voronoi partitioning scales to highly complex topologies without loss of connectivity information.

Load-bearing premise

That the dual fields can be compressed into a single latent space while preserving enough information for accurate recovery of explicit B-rep geometry and topology by the neural rebuilder, even for models with varying face counts and surface types.

What would settle it

Running the neural rebuilder on dual fields derived from complex CAD models and checking if the output B-rep matches the input in both surface geometry accuracy and topological connectivity, such as correct face adjacencies and edge loops.

Figures

Figures reproduced from arXiv: 2606.31579 by Chinthala Reddy, Hooman Shayani, Pradeep Jayaraman, Xiang Xu, Yilin Liu.

Figure 1
Figure 1. Figure 1: DualBrep bridges the discrete-continuous gap in B-rep learning. Standard B-reps (left) define shapes by explicitly stitching together disjoint parametric surfaces and curves via a discrete connectivity graph, a representation that is difficult to optimize by gradient-based methods. DualBrep reformulates this into a fully continuous domain (right) by encoding geometry as a Shape field and topology as a Gene… view at source ↗
Figure 2
Figure 2. Figure 2: Architecture of the VAE. Perceiver-style encoder fuses surface, edge, and Voronoi point features into a latent representation using cross-attention. A similar decoder queries latent code to reconstruct the shape (SDF) and GVD (UDF), providing a differentiable representation of B-rep geometry and topology. Topology Field (GVD). This is the critical component that recovers the B-rep structure. In a B-rep, to… view at source ↗
Figure 3
Figure 3. Figure 3: Architecture of the learned rebuilder. Segmented face patches are encoded into features and processed through self-attention to capture topological context. The network then predicts patch-level parametric UV grids, adjacency relationships, and UV-space trimming curves, which are assembled into a B-rep. to infer the complete dual-field structure—including topological segmentation—solely from the surface ge… view at source ↗
Figure 4
Figure 4. Figure 4: Reconstruction performance vs. shape complexity. We ana￾lyze how the reconstruction performance of different methods varies with shape complexity, measured by the number of faces in the B-rep model. Top: Chamfer Distance (lower is better) vs. number of faces. Bottom: Validity rate (higher is better) vs. number of faces. Our DualBrep framework maintains stable performance across different shape complexities… view at source ↗
Figure 5
Figure 5. Figure 5: Failure cases and limitations. While we showed that cases with narrow or thin structures can be handled well by our DualBrep framework, extremely thin features may still be lost during the segmentation, leading to invalid B-rep models. slightly lower reconstruction metrics than the deterministic ver￾sion. We attribute this to the stochastic nature of the ODE solver, which introduces small latent-code pertu… view at source ↗
Figure 6
Figure 6. Figure 6: Point-cloud-to-B-rep reconstruction gallery. We showcase diverse reconstruction results from our deterministic DualBreprecon across various CAD model categories, including shapes with free-form surfaces, mechanical parts with intricate details and thin-walled structures [PITH_FULL_IMAGE:figures/full_fig_p010_6.png] view at source ↗
Figure 7
Figure 7. Figure 7: Qualitative comparison on point-cloud-to-B-rep reconstruction. We compare our DualBreprecon with baseline methods on various CAD models. From left to right: ground truth B-rep, DualBrep (Ours), HoLa, NVDNet, and SEDNet+Point2CAD. Our method produces more accurate surface segmentation and better preserves geometric details while maintaining topological validity, even on complex shapes like gears with 20+ te… view at source ↗
Figure 8
Figure 8. Figure 8: Native conditional generation. Single view image or point cloud can be injected as conditions to our latent flow matching model DualBrepgen for direct B-rep generation. We show various results of point-cloud-to-B-rep generation (right) and image-to-B-rep generation (left) [PITH_FULL_IMAGE:figures/full_fig_p011_8.png] view at source ↗
Figure 1
Figure 1. Figure 1: Deterministic vs. generative output on the same input. The two variants produce nearly identical geometry and segmentation. Differences are localized to one or two patches (highlighted), yet sufficient to break watertightness. 10 20 30 40 50 60 Number of Faces 0.0 0.2 0.4 0.6 0.8 1.0 Surface F1 Score Gen_clustered Gen_postprocessed HoLa_postprocessed Recon_postprocessed [PITH_FULL_IMAGE:figures/full_fig_p… view at source ↗
Figure 2
Figure 2. Figure 2: Surface F1-score vs. shape complexity at different pipeline stages. DualBrepgen clustered (after segmentation only) consistently out￾performs all post-rebuilding variants, confirming that patch-level contin￾uous representations are easier to produce accurately. The wider gap for DualBrepgen between clustered and processed indicates that the stochastic sampling introduces small perturbations that are amplif… view at source ↗
Figure 4
Figure 4. Figure 4: Additional comparison on deterministic reverse engineering from DualBrep [PITH_FULL_IMAGE:figures/full_fig_p016_4.png] view at source ↗
Figure 5
Figure 5. Figure 5: Additional comparison on deterministic reverse engineering from DualBrep [PITH_FULL_IMAGE:figures/full_fig_p017_5.png] view at source ↗
Figure 6
Figure 6. Figure 6: Additional reconstruction result on deterministic reverse engineering from DualBrep [PITH_FULL_IMAGE:figures/full_fig_p018_6.png] view at source ↗
Figure 7
Figure 7. Figure 7: Additional reconstruction result on deterministic reverse engineering from DualBrep [PITH_FULL_IMAGE:figures/full_fig_p019_7.png] view at source ↗
Figure 8
Figure 8. Figure 8: Additional reconstruction result on deterministic reverse engineering from DualBrep [PITH_FULL_IMAGE:figures/full_fig_p020_8.png] view at source ↗
Figure 9
Figure 9. Figure 9: Additional conditional generation results from single view images from DualBrep [PITH_FULL_IMAGE:figures/full_fig_p021_9.png] view at source ↗
Figure 10
Figure 10. Figure 10: Additional conditional generation results from point clouds from DualBrep [PITH_FULL_IMAGE:figures/full_fig_p022_10.png] view at source ↗
read the original abstract

Boundary Representation (B-rep) is the most commonly used data format in Computer-Aided Design (CAD) due to its analytical precision and direct support for parametric editing. However, its heterogeneous structure--continuous parametric geometry combined with discrete topological graphs--poses fundamental challenges for deep learning. Existing methods often predict the heterogeneous B-rep graph directly, using fixed-size padding or sequential tokenization to handle varying primitive counts. These approaches struggle with the combinatorial complexity of CAD models. Furthermore, the discrete, non-differentiable nature of graph data prevents end-to-end optimization of geometry and watertightness. In this work, we introduce DualBrep, a novel continuous representation that unifies B-rep geometry and topology within a fully structured Euclidean domain. DualBrep encodes a CAD model using dual scalar fields: a Signed Distance Function (SDF) representing global shape geometry, and an Unsigned Distance Field (UDF) implicitly encoding topological structure via a Voronoi partitioning of surface elements. Rather than processing these fields independently, we compress them into a single latent space. While the dual-field formulation alone provides a flexible, primitive-free segmentation signal that adapts to arbitrary face counts and surface types, the shared latent makes generation tractable. A Flow Matching model can sample geometry and topology jointly from a single code, avoiding the error accumulation that plagues sequential B-rep predictors. Finally, a neural rebuilder extracts explicit B-rep models--comprising both prismatic and free-form primitives--directly from our continuous dual fields. We demonstrate that DualBrep is a robust backbone for CAD learning, achieving strong performance in point cloud reverse engineering and generative modeling via latent flow matching.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 1 minor

Summary. The paper introduces DualBrep, a continuous dual-field representation for B-rep CAD models consisting of an SDF for global geometry and a UDF that implicitly encodes topology via Voronoi partitioning of surface elements. These fields are compressed into a shared latent space from which a Flow Matching model performs joint sampling of geometry and topology; a neural rebuilder then extracts explicit B-rep (prismatic and free-form) directly from the continuous fields. The central claim is that this unified Euclidean-domain representation avoids the combinatorial and non-differentiable difficulties of direct discrete B-rep graph prediction and enables robust performance on point-cloud reverse engineering and latent generative modeling.

Significance. If the dual-field encoding and neural rebuilder can reliably recover accurate explicit B-rep for arbitrary face counts and surface types, the approach would supply a fully differentiable, primitive-free backbone for CAD learning that unifies geometry and topology in a single latent code. The Flow Matching formulation for joint sampling would be a concrete advance over sequential predictors that accumulate errors. The paper supplies no machine-checked proofs or parameter-free derivations, but the continuous formulation itself is a clear conceptual contribution.

major comments (2)
  1. [Abstract] Abstract: the claim that DualBrep 'achieves strong performance in point cloud reverse engineering and generative modeling' is unsupported by any quantitative results, baselines, error metrics, ablation studies, or dataset statistics. This assertion is load-bearing for the paper's conclusion that the method is 'a robust backbone for CAD learning.'
  2. The weakest assumption—that compression of the dual fields into a single latent preserves sufficient information for the neural rebuilder to recover accurate explicit B-rep geometry and topology for arbitrary face counts without the error accumulation of sequential methods—is stated but not accompanied by targeted experiments (e.g., scaling curves on face count or surface-type complexity). This directly affects the central unification claim.
minor comments (1)
  1. [Abstract] The abstract refers to 'prismatic and free-form primitives' but does not clarify how the UDF Voronoi partitioning distinguishes between them or whether the rebuilder outputs analytic surface parameters.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the constructive report and the recommendation for major revision. We address each major comment below, providing clarifications and committing to revisions that strengthen the support for our claims without altering the core contributions.

read point-by-point responses
  1. Referee: [Abstract] Abstract: the claim that DualBrep 'achieves strong performance in point cloud reverse engineering and generative modeling' is unsupported by any quantitative results, baselines, error metrics, ablation studies, or dataset statistics. This assertion is load-bearing for the paper's conclusion that the method is 'a robust backbone for CAD learning.'

    Authors: We agree that the abstract's performance claim requires explicit quantitative backing to be fully substantiated. The manuscript body includes experimental evaluations on reverse engineering from point clouds and latent generative modeling with Flow Matching, but these details are not summarized in the abstract. We will revise the abstract to incorporate key metrics (e.g., reconstruction accuracy, topological fidelity measures), baseline comparisons, and dataset statistics, ensuring the claim is directly supported. revision: yes

  2. Referee: The weakest assumption—that compression of the dual fields into a single latent preserves sufficient information for the neural rebuilder to recover accurate explicit B-rep geometry and topology for arbitrary face counts without the error accumulation of sequential methods—is stated but not accompanied by targeted experiments (e.g., scaling curves on face count or surface-type complexity). This directly affects the central unification claim.

    Authors: The paper demonstrates the neural rebuilder's ability to extract B-rep from the dual fields across diverse models, supporting the shared latent's sufficiency in the reported results. However, we acknowledge that dedicated scaling analyses would more rigorously validate robustness to arbitrary face counts and surface types. We will add targeted experiments, including scaling curves on face count and surface-type complexity, to directly address this point in the revised manuscript. revision: yes

Circularity Check

0 steps flagged

No significant circularity identified

full rationale

The paper proposes DualBrep as a new continuous dual-field encoding (SDF for geometry + Voronoi UDF for topology) compressed to a shared latent, sampled via flow matching, and converted to explicit B-rep via a neural rebuilder. No equations, first-principles derivations, fitted parameters renamed as predictions, or self-citation chains appear in the provided abstract or claims. The central contribution is a methodological unification of geometry and topology into Euclidean fields; the latent compression and rebuilder are presented as empirical engineering choices rather than reductions to prior inputs by construction. No load-bearing step matches any enumerated circularity pattern.

Axiom & Free-Parameter Ledger

0 free parameters · 0 axioms · 0 invented entities

Only the abstract is available; no explicit free parameters, axioms, or invented entities are stated in the text.

pith-pipeline@v0.9.1-grok · 5848 in / 1079 out tokens · 62439 ms · 2026-07-01T02:51:21.886893+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

14 extracted references · 4 canonical work pages · 4 internal anchors

  1. [1]

    on Graphics (Proc

    Com- plexGen: CAD reconstruction by B-rep chain complex generation.ACM Trans. on Graphics (Proc. SIGGRAPH)41, 4 (2022), 129:1–129:18. Pradeep Kumar Jayaraman, Joseph George Lambourne, Nishkrit Desai, Karl D. D. Willis, Aditya Sanghi, and Nigel J. W. Morris

  2. [2]

    on Machine Learning Research(2023)

    SolidGen: An Autoregressive Model for Direct B-rep Synthesis.Trans. on Machine Learning Research(2023). Pradeep Kumar Jayaraman, Aditya Sanghi, Joseph G. Lambourne, Karl D. D. Willis, Thomas Davies, Hooman Shayani, and Nigel J. W. Morris

  3. [3]

    on Graphics (Proc

    NeuralVDB: High-resolution Sparse Volume Representation using Hierarchical Neural Networks.ACM Trans. on Graphics (Proc. SIGGRAPH)43, 2 (2024), 2:1–2:21. Sebastian Koch, Albert Matveev, Zhongshi Jiang, Francis Williams, Alexey Artemov, Evgeny Burnaev, Marc Alexa, Denis Zorin, and Daniele Panozzo

  4. [4]

    BRepNet: A topological message passing system for solid models. InProc. IEEE/CVF Conf. on Computer Vision & Pattern Recognition. 12773–12782. Jing Li, Yihang Fu, and Falai Chen. 2025a. DTGBrepGen: A Novel B-rep Generative Model through Decoupling Topology and Geometry. InProc. IEEE/CVF Conf. on Computer Vision & Pattern Recognition. Pu Li, Wenhao Zhang, W...

  5. [5]

    Flow Matching for Generative Modeling. InProc. Int. Conf. on Learning Representations. Yilin Liu, Jiale Chen, Shanshan Pan, Daniel Cohen-Or, Hao Zhang, and Hui Huang. 2024a. Split-and-Fit: Learning B-Reps via Structure-Aware Voronoi Partitioning. ACM Trans. on Graphics (Proc. SIGGRAPH)43, 4 (2024), 108:1–108:13. Yujia Liu, Anton Obukhov, Jan Dirk Wegner, ...

  6. [6]

    Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger

    HoLa: B-Rep Generation using a Holistic Latent Representation.ACM Transactions on Graphics (SIGGRAPH)44, 4 (2025). Lars Mescheder, Michael Oechsle, Michael Niemeyer, Sebastian Nowozin, and Andreas Geiger

  7. [7]

    DINOv2: Learning Robust Visual Features without Supervision

    Dinov2: Learning robust visual features without supervision.arXiv preprint arXiv:2304.07193(2023). Jeong Joon Park, Peter Florence, Julian Straub, Richard Newcombe, and Steven Love- grove

  8. [8]

    Scalable Diffusion Models with Transformers

    Scalable Diffusion Models with Transformers. arXiv preprint arXiv:2212.09748(2022). Xuanchi Ren, Jiahui Huang, Xiaohui Zeng, Ken Museth, Sanja Fidler, and Francis Williams

  9. [9]

    TripoSR: Fast 3D Object Reconstruction from a Single Image

    TripoSR: Fast 3D Object Reconstruction from a Single Image.arXiv preprint arXiv:2403.02151 (2024). Karl DD Willis, Yewen Pu, Jieliang Luo, Hang Chu, Tao Du, Joseph G Lambourne, Armando Solar-Lezama, and Wojciech Matusik

  10. [10]

    ACM Trans

    Fusion 360 gallery: A dataset and environment for programmatic cad construction from human design sequences. ACM Trans. on Graphics40, 4 (2021), 1–24. Jiajun Wu, Chengkai Zhang, Tianfan Xue, Bill Freeman, and Josh Tenenbaum

  11. [11]

    on Graphics (Proc

    BrepGen: A B-rep Generative Diffusion Model with Structured Latent Geometry.ACM Trans. on Graphics (Proc. SIGGRAPH) 43, 4 (2024), 119:1–119:14. DualBrep : A Dual-Field Continuous Representation for B-rep Modelling•9 Xiang Xu, Karl DD Willis, Joseph G Lambourne, Chin-Yi Cheng, Pradeep Kumar Jayara- man, and Yasutaka Furukawa

  12. [12]

    on Graphics (Proc

    3DShape2VecSet: A 3D shape representation for neural fields and generative diffusion models.ACM Trans. on Graphics (Proc. SIGGRAPH)42, 4 (2023), 92:1–92:16. Zibo Zhao, Zeqiang Lai, Qingxiang Lin, Yunfei Zhao, et al

  13. [13]

    Hunyuan3D 2.0: Scaling Diffusion Models for High Resolution Textured 3D Assets Generation

    Hunyuan3D 2.0: Scaling Diffusion Models for High Resolution Textured 3D Assets Generation. arXiv:2501.12202 [cs.CV] 10•Yilin Liu, Pradeep Jayaraman, Chinthala Reddy, Xiang Xu, and Hooman Shayani Fig. 6.Point-cloud-to-B-rep reconstruction gallery.We showcase diverse reconstruction results from our deterministic DualBrep recon across various CAD model categ...

  14. [14]

    (c) Extract connected components on this stricter graph to ob- tain candidate sub-components

    (b) Restrict the original face-adjacency graph to edges whose two incident faces are both eligible and currently belong to the same pass-1 component. (c) Extract connected components on this stricter graph to ob- tain candidate sub-components. (d) Discard any candidate sub-component whose size is smaller than𝑠 min. (e) For each split candidate component: ...