CADCL: Reconstruct parametric CAD models from B-rep via contrastive learning
Authors:
Open Access
- 3 October 2025
- journal article
- Published by Oxford University Press (OUP) in Journal of Computational Design and Engineering
- Vol. 12 (10) , 176-184
Abstract
Reconstructing computer-aided design (CAD) models from geometric models has long been a fundamental yet challenging research problem. In this work, we propose a novel contrastive learning framework, CADCL, which reconstructs parametric CAD sequences from B-rep models. The framework consists of two stages. In the first stage, a transformer-based module is trained to encode CAD sequences into latent embeddings. In the second stage, the input B-rep is represented as a graph and jointly process with the CAD sequence embeddings obtained from the first stage. The final output is a parametric CAD sequence. Different from existing approaches, this paper innovatively incubates a contrastive learning approach for B-rep embeddings and CAD sequence embeddings, which enables the B-rep embeddings to effectively capture information align with the parametric CAD structure. In this way, the B-rep features can be more accurately decoded into CAD sequences. Extensive experimental results on both the simple DeepCAD dataset and advanced WHUCAD dataset demonstrate that our method outperforms existing approaches, and the generated CAD sequences can be successfully imported and edited in standard CAD modeling software.Keywords
Funding Information
- National Natural Science Foundation of China (62072348)
- Department of Education of Guangdong Province (2024KTSCX052)
- Shenzhen Polytechnic University Research (6024310045K)
This publication has 14 references indexed in Scilit:
- eCAD-Net: Editable Parametric CAD Models Reconstruction from Dumb B-Rep Models Using Deep Neural NetworksComputer-Aided Design, 2024
- View2CAD: Parsing Multi-view into CAD Command Sequences2024
- Brep2Seq: a dataset and hierarchical deep learning network for reconstruction and generation of computer-aided design modelsJournal of Computational Design and Engineering, 2023
- BRepGAT: Graph neural network to segment machining feature faces in a B-rep modelJournal of Computational Design and Engineering, 2023
- BRep-BERT: Pre-training Boundary Representation BERT with Sub-graph Node Contrastive Learning2023
- MultiCAD: Contrastive Representation Learning for Multi-modal 3D Computer-Aided Design Models2023
- CADOps-Net: Jointly Learning CAD Operation Types and Steps from Boundary-Representations2022
- Fusion 360 galleryACM Transactions on Graphics, 2021
- P-clothACM Transactions on Graphics, 2020
- InverseCSGACM Transactions on Graphics, 2018