{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,2]],"date-time":"2026-06-02T09:10:29Z","timestamp":1780391429350,"version":"3.54.1"},"reference-count":39,"publisher":"Oxford University Press (OUP)","issue":"10","license":[{"start":{"date-parts":[[2025,10,3]],"date-time":"2025-10-03T00:00:00Z","timestamp":1759449600000},"content-version":"vor","delay-in-days":2,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["62072348"],"award-info":[{"award-number":["62072348"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100010226","name":"Department of Education of Guangdong Province","doi-asserted-by":"publisher","award":["2024KTSCX052"],"award-info":[{"award-number":["2024KTSCX052"]}],"id":[{"id":"10.13039\/501100010226","id-type":"DOI","asserted-by":"publisher"}]},{"name":"Shenzhen Polytechnic University Research","award":["6024310045K"],"award-info":[{"award-number":["6024310045K"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2025,10,11]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>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.<\/jats:p>","DOI":"10.1093\/jcde\/qwaf102","type":"journal-article","created":{"date-parts":[[2025,10,1]],"date-time":"2025-10-01T12:05:34Z","timestamp":1759320334000},"page":"176-184","source":"Crossref","is-referenced-by-count":3,"title":["CADCL: Reconstruct parametric CAD models from B-rep via contrastive learning"],"prefix":"10.1093","volume":"12","author":[{"given":"JianFei","family":"Liang","sequence":"first","affiliation":[{"name":"School of Computer Science, School of Artificial Intelligence, Wuhan University , Wuhan 4300072 ,","place":["China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7016-3698","authenticated-orcid":false,"given":"FaZhi","family":"He","sequence":"additional","affiliation":[{"name":"School of Computer Science, School of Artificial Intelligence, Wuhan University , Wuhan 4300072 ,","place":["China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"RuBin","family":"Fan","sequence":"additional","affiliation":[{"name":"School of Computer Science, School of Artificial Intelligence, Wuhan University , Wuhan 4300072 ,","place":["China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"YiYang","family":"Chu","sequence":"additional","affiliation":[{"name":"School of Computer Science, School of Artificial Intelligence, Wuhan University , Wuhan 4300072 ,","place":["China"]}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaohu","family":"Yan","sequence":"additional","affiliation":[{"name":"Undergraduate School of Artificial Intelligence, Shenzhen Polytechnic University , Shenzhen 518055 ,","place":["China"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2025,10,3]]},"reference":[{"key":"2025102410321622700_bib1","article-title":"Shapenet: An information-rich 3d model repository","author":"Chang","year":"2015"},{"key":"2025102410321622700_bib2","first-page":"11073","article-title":"Cadcrafter: Generating computer-aided design models from unconstrained images","volume-title":"Proceedings of the Computer Vision and Pattern Recognition Conference","author":"Chen","year":"2025"},{"key":"2025102410321622700_bib3","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3272127.3275006","article-title":"Inversecsg: Automatic conversion of 3d models to csg trees","volume":"37","author":"Du","year":"2018","journal-title":"ACM Transactions on Graphics (TOG)"},{"key":"2025102410321622700_bib4","doi-asserted-by":"publisher","first-page":"114","DOI":"10.1109\/3DV57658.2022.00024","article-title":"Cadops-net: Jointly learning cad operation types and steps from boundary-representations","volume-title":"2022 International Conference on 3D Vision (3DV)","author":"Dupont","year":"2022"},{"key":"2025102410321622700_bib5","doi-asserted-by":"publisher","first-page":"75","DOI":"10.3233\/ICA-240744","article-title":"A parametric and feature-based cad dataset to support human-computer interaction for advanced 3d shape learning","volume":"32","author":"Fan","year":"2025","journal-title":"Integrated Computer-Aided Engineering"},{"key":"2025102410321622700_bib6","article-title":"Inductive representation learning on large graphs","volume":"30","author":"Hamilton","year":"2017","journal-title":"Advances in neural information processing systems"},{"key":"2025102410321622700_bib7","article-title":"LRM: Large reconstruction model for single image to 3d","volume-title":"The Twelfth International Conference on Learning Representations","author":"Hong","year":"2024"},{"key":"2025102410321622700_bib8","first-page":"11703","article-title":"Uv-net: Learning from boundary representations","volume-title":"Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition","author":"Jayaraman","year":"2021"},{"key":"2025102410321622700_bib9","article-title":"Solidgen: An autoregressive model for direct b-rep synthesis","author":"Jayaraman","year":"2023","journal-title":"Transactions on Machine Learning Research"},{"key":"2025102410321622700_bib10","first-page":"8776","article-title":"Ucsg-net-unsupervised discovering of constructive solid geometry tree","volume":"33","author":"Kania","year":"2020","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2025102410321622700_bib11","first-page":"4713","article-title":"Cad-signet: Cad language inference from point clouds using layer-wise sketch instance guided attention","volume-title":"Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition","author":"Khan","year":"2024"},{"key":"2025102410321622700_bib12","first-page":"18661","article-title":"Supervised contrastive learning","volume":"33","author":"Khosla","year":"2020","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2025102410321622700_bib13","first-page":"9601","article-title":"Abc: A big cad model dataset for geometric deep learning","volume-title":"Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition","author":"Koch","year":"2019"},{"key":"2025102410321622700_bib14","doi-asserted-by":"publisher","first-page":"2384","DOI":"10.1093\/jcde\/qwad106","article-title":"Brepgat: Graph neural network to segment machining feature faces in a b-rep model","volume":"10","author":"Lee","year":"2023","journal-title":"Journal of Computational Design and Engineering"},{"key":"2025102410321622700_bib15","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3414685.3417763","article-title":"Sketch2cad: Sequential cad modeling by sketching in context","volume":"39","author":"Li","year":"2020","journal-title":"ACM Transactions on Graphics (TOG)"},{"key":"2025102410321622700_bib16","first-page":"1","article-title":"Free2cad: Parsing freehand drawings into cad commands","volume":"41","author":"Li","year":"2022","journal-title":"ACM Transactions on Graphics (TOG)"},{"key":"2025102410321622700_bib17","first-page":"21438","article-title":"Dtgbrepgen: A novel b-rep generative model through decoupling topology and geometry","volume-title":"Proceedings of the Computer Vision and Pattern Recognition Conference","author":"Li","year":"2025"},{"key":"2025102410321622700_bib18","doi-asserted-by":"publisher","first-page":"5013","DOI":"10.1609\/aaai.v39i5.32531","article-title":"Mamba-cad: State space model for 3d computer-aided design generative modeling","volume-title":"Proceedings of the AAAI Conference on Artificial Intelligence","author":"Li","year":"2025"},{"key":"2025102410321622700_bib19","first-page":"21448","article-title":"Caddreamer: Cad object generation from single-view images","volume-title":"Proceedings of the Computer Vision and Pattern Recognition Conference","author":"Li","year":"2025"},{"key":"2025102410321622700_bib20","first-page":"22226","article-title":"One-2-3-45: Any single image to 3d mesh in 45 seconds without per-shape optimization","volume":"36","author":"Liu","year":"2023","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2025102410321622700_bib21","first-page":"3763","article-title":"Point2cad: Reverse engineering cad models from 3d point clouds","volume-title":"Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition","author":"Liu","year":"2024"},{"key":"2025102410321622700_bib22","doi-asserted-by":"crossref","first-page":"1657","DOI":"10.1145\/3583780.3614795","article-title":"Brep-bert: Pre-training boundary representation bert with sub-graph node contrastive learning","volume-title":"Proceedings of the 32nd ACM International Conference on Information and Knowledge Management","author":"Lou","year":"2023"},{"key":"2025102410321622700_bib23","doi-asserted-by":"crossref","first-page":"1766","DOI":"10.1145\/3583780.3614982","article-title":"Multicad: Contrastive representation learning for multi-modal 3d computer-aided design models","volume-title":"Proceedings of the 32nd ACM International Conference on Information and Knowledge Management","author":"Ma","year":"2023"},{"key":"2025102410321622700_bib24","article-title":"Representation learning with contrastive predictive coding","author":"Oord","year":"2018"},{"key":"2025102410321622700_bib25","first-page":"12478","article-title":"Csg-stump: A learning friendly csg-like representation for interpretable shape parsing","volume-title":"Proceedings of the IEEE\/CVF International Conference on Computer Vision","author":"Ren","year":"2021"},{"key":"2025102410321622700_bib26","article-title":"Cad-recode: Reverse engineering cad code from point clouds","author":"Rukhovich","year":"2024"},{"key":"2025102410321622700_bib27","first-page":"5515","article-title":"Csgnet: Neural shape parser for constructive solid geometry","volume-title":"Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition","author":"Sharma","year":"2018"},{"key":"2025102410321622700_bib28","article-title":"Attention is all you need","volume":"30","author":"Vaswani","year":"2017","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2025102410321622700_bib29","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1145\/3450626.3459818","article-title":"Fusion 360 gallery: A dataset and environment for programmatic cad construction from human design sequences","volume":"40","author":"Willis","year":"2021","journal-title":"ACM Transactions on Graphics (TOG)"},{"key":"2025102410321622700_bib30","first-page":"6772","article-title":"Deepcad: A deep generative network for computer-aided design models","volume-title":"Proceedings of the IEEE\/CVF International Conference on Computer Vision","author":"Wu","year":"2021"},{"key":"2025102410321622700_bib31","first-page":"38443","article-title":"Hierarchical neural coding for controllable cad model generation","volume-title":"Proceedings of the 40th International Conference on Machine Learning","author":"Xu","year":"2023"},{"key":"2025102410321622700_bib32","first-page":"1","article-title":"Brepgen: A b-rep generative diffusion model with structured latent geometry","volume":"43","author":"Xu","year":"2024","journal-title":"ACM Transactions on Graphics (TOG)"},{"key":"2025102410321622700_bib33","doi-asserted-by":"publisher","DOI":"10.1145\/3733595","article-title":"Ps-cad: Local geometry guidance via prompting and selection for cad reconstruction","author":"Yang","year":"2025","journal-title":"ACM Transactions on Graphics"},{"key":"2025102410321622700_bib34","first-page":"22807","article-title":"D$^{2}$ CSG: Unsupervised learning of compact CSG trees with dual complements and dropouts","volume":"36","author":"Yu","year":"2023","journal-title":"Advances in Neural Information Processing Systems"},{"key":"2025102410321622700_bib35","doi-asserted-by":"publisher","first-page":"103806","DOI":"10.1016\/j.cad.2024.103806","article-title":"ecad-net: Editable parametric cad models reconstruction from dumb b-rep models using deep neural networks","volume":"178","author":"Zhang","year":"2025","journal-title":"Computer-Aided Design"},{"key":"2025102410321622700_bib36","doi-asserted-by":"publisher","first-page":"110","DOI":"10.1093\/jcde\/qwae005","article-title":"Brep2seq: a dataset and hierarchical deep learning network for reconstruction and generation of computer-aided design models","volume":"11","author":"Zhang","year":"2024","journal-title":"Journal of Computational Design and Engineering"},{"key":"2025102410321622700_bib37","doi-asserted-by":"crossref","first-page":"2949","DOI":"10.1109\/CSCWD61410.2024.10580755","article-title":"View2cad: Parsing multi-view into cad command sequences","volume-title":"2024 27th International Conference on Computer Supported Cooperative Work in Design (CSCWD)","author":"Zhang","year":"2024"},{"key":"2025102410321622700_bib38","doi-asserted-by":"crossref","first-page":"1804","DOI":"10.24963\/ijcai.2023\/200","article-title":"Cadparser: a learning approach of sequence modeling for b-rep cad","volume-title":"Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence","author":"Zhou","year":"2023"},{"key":"2025102410321622700_bib39","first-page":"1","article-title":"Reconstruct pfcad models with dual-transformer and continuation attention","volume-title":"2025 28th International Conference on Computer Supported Cooperative Work in Design (CSCWD)","author":"Zong","year":"2025"}],"container-title":["Journal of Computational Design and Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/jcde\/advance-article-pdf\/doi\/10.1093\/jcde\/qwaf102\/64485030\/qwaf102.pdf","content-type":"application\/pdf","content-version":"am","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/jcde\/article-pdf\/12\/10\/176\/64485030\/qwaf102.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/jcde\/article-pdf\/12\/10\/176\/64485030\/qwaf102.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,24]],"date-time":"2025-10-24T14:32:27Z","timestamp":1761316347000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/jcde\/article\/12\/10\/176\/8272673"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10]]},"references-count":39,"journal-issue":{"issue":"10","published-print":{"date-parts":[[2025,10,11]]}},"URL":"https:\/\/doi.org\/10.1093\/jcde\/qwaf102","relation":{},"ISSN":["2288-5048"],"issn-type":[{"value":"2288-5048","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2025,10]]},"published":{"date-parts":[[2025,10]]}}}