Abstract
Introduction
Boundary representation (B-Rep), as a fundamental principle of entity modeling, has received increasing attention from domestic and foreign scholars.1,2 B-Rep-based 3D model retrieval has emerged as a prominent research focus.3–5 Oberbichler et al. 6 introduced a consistent and efficient strategy for formulating geometrically nonlinear finite elements for isogeometric analysis (IGA) and isogeometric B-Rep analysis (IBRA), utilizing the adjoint method. Boris et al. 7 proposed a suite of methods to generate truss lattices that fill the interior of B-Rep models, whether polygonal or (trimmed) NURBS-based, of any shape, using 3D sphere packing. Andreas et al. 8 suggested an isogeometric B-Rep mortar-based mapping method, which was further extended for transforming fields between a B-Rep model and a low-order discrete surface representation of the geometry. This typically occurs when the finite volume method (FVM) or the finite element method (FEM) are employed. Junhao et al. 9 proposed a graph structure descriptor, termed B-Rep graph, to preprocess B-Rep data and extract precise topological and geometric features from 3D-CAD models. Concurrently, an innovative and efficient neural network, FuS–GCN, was developed, based on graph convolutional networks (GCNs), to handle this graph data. Maquart et al. 10 presented a universal framework to construct 3D structured volumetric meshes of complex geometry and arbitrary topology. They utilized the boundary of the triangulated solid 3D model provided from boundary-representation in computer aided design (B-Rep CAD) models. Jia et al. 9 proposed a structure correspondence framework for CAD retrieval, segmenting models into local structural cells, extracting descriptors, and matching them efficiently to generate similarity rankings. Zhang et al. 11 introduced a framework to reconstruct editable parametric CAD models from dumb B-Rep models, using UV-graph representation, a neural network (eCAD-Net) for sequence prediction, and feature matching to produce CAD operations. Quan et al. 12 proposed a self-supervised contrastive GNN framework (GC-CAD) for CAD retrieval, extracting geometric and topological features from parameterized CAD files and generating retrieval-ready representations without manual labels. Yiping et al. 13 proposed and implemented local dynamic update methods for 3D geological bodies based on the B-Rep structure model for new local drilling and profile data. They used two local dynamic update methods. The dynamic update method of the B-Rep structure model for local new borehole data was employed to update the 3D geological body structure model to align with the new borehole constraints.
In summary, B-Rep model retrieval research primarily concentrates on local similarity matching of the model by identifying common subgraphs. Currently, descriptors extracted by global statistical features can effectively represent the feature distribution of CAD models. These descriptors usually exhibit invariance to scaling, rotation, and translation transformations and demonstrate robustness to issues such as cracks, overlaps, and noise in the model. 14 The present study extends this line of research by focusing on global similarity matching of mechanical parts based on B-Rep. Specifically, CAD models are decomposed into a series of relatively regular surfaces, from which attribute information is extracted. Optimal surface correspondences between models are then identified, ensuring consistency in both shape and topology. Finally, the overall similarity between two models is evaluated by integrating surface-level similarities.
Dividing parts into surface and extracting surface attributes
The basic idea of B-Rep denotes that an entity can be represented by a collection of surfaces, where each surface is defined by its bounding edges, each edge by its vertices, and each vertex by three-dimensional coordinates. 1 B-Rep emphasizes the feature of the solid surface and records all the geometric and topological information of the object. In this method, the information on the surfaces, edges, and points is recorded by layers, and the relation between the layers is established.
Presently, most CAD software in the market uses B-Rep as the main technology for describing their product information. Since the surfaces of mechanical parts are typically regular, B-Rep-based retrieval can effectively enhance both the efficiency and accuracy of part retrieval.
Simplifying parts and dividing model surface
The part model must be simplified before extracting the surfaces of the mechanical part model, and certain features for processing plan, such as chamfers, fillets, curving of castings, tool withdrawal groove, and grinding wheel groove, must be removed. The existence of these features does not affect the overall shape and topology of the model but increases calculation time and influence the efficiency of retrieval. In addition, the similarity of the models depends mainly on their backbone structure. Therefore, the features of the processing plan should be filtered out before the model surface is extracted. In Figure 1(b), the chamfer, fillets, and rounded corners of Part I are removed to obtain Model I.

Simplifying parts and dividing model surface: (a) Part I, (b) Model I and (c) Surface partition of Model I.
The feature modeling process of mechanical parts involves superposing and cutting basic geometries, such as prism, pyramid, cylinder, cone, and sphere. Therefore, the shape of mechanical parts is relatively regular and simple. The surface is mainly composed of planes and regular curved surfaces and has obvious boundary contour line. Based on the principle of B-Rep, dividing a CAD model of mechanical parts into multiple surfaces is straightforward. In Figure 1(b), Model I is divided into 10 surfaces, and the results are illustrated in Figure 1(c).
Extracting surface attributes
In this study, the classification and definition of surface attributes strictly follow the core principles of the boundary representation (B-Rep) model, in which a solid is composed of closed surfaces and their topological relationships.5,10,14 Accordingly, the attributes are naturally categorized into two types: shape attributes, which characterize the intrinsic geometric properties of a surface, and adjacency attributes, which describe the topological and connectivity relationships between surfaces. This classification is not arbitrarily defined but is consistent with mainstream approaches in the field of CAD model retrieval.5,10 When selecting specific attribute descriptors, our goal is to effectively capture the key geometric and topological features of mechanical parts, 10 while balancing descriptive comprehensiveness with computational efficiency. The final attribute set (as shown in Figure 2) encompasses critical indicators capable of distinguishing common mechanical features such as planes, cylinders, holes, and bosses, thereby ensuring the completeness of representation (Supplemental Appendix).

Surface attribute classification.
All attributes are automatically extracted through a self-developed B-Rep model parsing system. This workflow ensures the consistency, objectivity, and repeatability of the attribute data. The main steps are as follows:
According to the above rules, the surface AS of Model I in Figure 1 is listed in Table 1.
Attribute information of the surface shape of Model I.
For example, the AR of surface
AR of surface
AL: adjacency length; AR: adjacent attributes; AS: adjacent surface.
Searching for the optimal matching surface
To enhance the clarity of presentation, the general procedure for identifying the optimal matching surface between two models is first outlined. The overall idea is to compare each surface in the query model with all candidate surfaces in the target model, evaluate their similarity using both shape attributes (AS) and adjacency attributes (AR), and then select the most similar pairs. Specifically, the algorithm proceeds in three stages:
This general workflow provides the conceptual framework of our approach, while the subsequent subsections present the detailed equations and application to example models.
The similarity degrees of the AS and AR of the model are computed, and the optimal matching surface of the two models is searched according to the similarity degrees of the two attributes. The surface sets of the two models are assumed as
Surface AS similarity calculation
As mentioned in Section 2.2, the surface AS include
where
where
The LD of surface
Figure 3(a) and (b) illustrate the simplified Model II and its surface partition. The surface AS information of Model II is presented in Table 3.

Model II and its surface partition: (a) Model II, (b) Surface partition of Model II.
Attribute information of the surface shape of Model II.
In Table 1, the LD of surface
Correspondingly, the similarity degree of LD between
As mentioned in Section before, the AD/TD of the outer-loop is a 2D array. Therefore, the cosine similarity is also used to calculate the AD/TD similarity of the outer-loop, as defined in equation (4).
where
The NI similarity degree between surface
where
The shape similarity between surface
Where
If the
Surface AR similarity calculation
As mentioned in Section 2.2, the AR of the surface includes the AS of adjacent surface and AL.
Assume that the number of adjacent surfaces of
where
For example, the four adjacent surfaces of surface
The similarity degrees in equation (9) are arranged in several rows from high to low, and the information of each row is
According to equation (8), the AR similarity of the two surfaces is computed by traversing between Model I in Figure 1 and Model II in Figure 3, and the results are recorded in equation (11).
Surface similarity calculation
The AS similarity between surface
where
In the prototype retrieval framework, the weighting parameters were assigned as β1 = 0.5 and β2 = 0.5. The similarity degrees between the paired surfaces of Model I (Figure 1) and Model II (Figure 3) were subsequently computed according to equations (7), (11), and (12), the results of which are expressed in equation (13).
Searching for the optimal matching surfaces
Models P and Q have
Step 2: Take the data from the first row in Table 4, that is, find a pair of optimal matching surfaces (
Step 3: Repeat Step 2 until Table 4 is empty. The
Temporary data table.
According to the steps above and equation (13), 10 pairs of optimal matching surfaces are found between Model I in Figure 1 and Model II in Figure 3, that is,
Model similarity calculation
The similarity of the AS and AR of these surfaces are calculated first using the surface sets of the two models. Then, the similarity of the surfaces for finding several pairs of the optimal matching surfaces and the overall similarity of the model are calculated.
Based on the principle of B-Rep, the model is divided into several surfaces that contain all model AS and AR. The shape and topology of the two models can be matched well by comparing the similarity of the surface. The similarity of the two models is as presented in equation (14):
where
The surface similarity degrees of the 10 pairs of optimal matching surfaces searched in Section 3.4 and area data of Models I and II in Tables 1 and 3, respectively, are calculated by using equation (14); the similarity between Model I in Figure 1 and Model II in Figure 3 is:
The similarity obtained through calculation between Models I and II is 0.752.
Case verification
To verify the feasibility of the proposed algorithm, a prototype system for mechanical part model retrieval was developed using the API of the SolidWorks software platform. The experimental dataset comprised ∼500 three-dimensional models of mechanical parts. All these models were created by the authors of this study to support teaching activities within the university, such as design cases from classic textbooks (e.g.
The dataset encompassed a variety of common mechanical part types to reflect diversity, primarily including: shaft-type parts (e.g. transmission shafts, stepped shafts), gear-type parts (e.g. spur gears, helical gears), disc-cover parts (e.g. end covers, flanges), housing-type parts (e.g. gearbox housings), as well as standard and commonly used parts (e.g. bolts, nuts, bearing blocks). The models exhibit a spectrum of geometric complexity, ranging from structurally simple fasteners to housing-type parts and special-shaped parts characterized by complex surfaces, internal cavities, and intricate hole systems.
Within this model library, similarity-based retrieval was implemented. The similarity degrees between three query parts belonging to distinct categories and all parts in the library were calculated. The five parts with the highest similarity degrees were retained and ranked in descending order, with the results summarized in Table 5.
Matching results of model similarity.
The retrieval results show that target part a and part no. 0256 has the highest similarity. The same observation is obtained for target part b and part no. 0129 and target part c and part no. 0038. Furthermore, other similar parts retrieved from the library and the target parts belong to a certain kind of parts, and the design reuse value of the same kind of parts is high.
Experimental analysis
This study conducted a systematic and comprehensive experimental evaluation of the proposed algorithm. In terms of retrieval efficiency, based on a test library consisting of ∼500 parts, the results demonstrate that the average retrieval time of the algorithm is significantly superior to that of the comparison methods. Specifically, the proposed algorithm requires only 1.11 min on average, whereas the feature tree-based and optimal matching-based algorithms take 1.28 and 1.53 min, respectively (Table 6). This efficiency advantage primarily stems from the innovative preprocessing mechanism, which intelligently identifies and filters out nonessential geometric features such as chamfers and fillets. By preserving the integrity of the model’s primary topological structure, this mechanism effectively reduces computational complexity and enables faster retrieval.
Average retrieval time of similar part.
With respect to retrieval accuracy, the comparative analysis of the P–R curves (Figure 4) clearly shows that the proposed algorithm consistently maintains stable advantages across most recall levels. When the recall reaches 0.6, the precision of the proposed method remains as high as 0.48, which is significantly better than that of the two comparison methods. This accuracy advantage can be attributed to the algorithm’s multidimensional representation strategy, which not only extracts fundamental geometric attributes but also incorporates structural analysis of adjacency relationships. Combined with a global traversal matching mechanism, this strategy ensures both high retrieval accuracy and sustained recall performance.

P–R curve.
More importantly, the algorithm exhibits excellent scalability when handling models of varying complexity. The preprocessing stage functions as a “complexity regulator,” ensuring that the core matching process always operates on optimized backbone features of the model. This design effectively curtails the rapid growth of computation time as model complexity increases. In contrast, the optimal matching method is more prone to combinatorial explosion due to its pairwise comparison mechanism, while the feature tree-based algorithm suffers from heavier parsing overhead when dealing with large-scale features.
In terms of robustness, the algorithm demonstrates outstanding adaptability to both scale variations and geometric noise. For uniform scaling, the normalization-based attribute comparison mechanism provides inherent scale invariance. For geometric noise, the preprocessing module filters out secondary features, thereby mitigating the adverse effects of minor design modifications and manufacturing tolerances. This capability ensures that models with identical functions but differing local details are correctly identified as highly similar, which significantly enhances the algorithm’s practicality and reliability in industrial scenarios such as variant design and cross-platform retrieval.
Overall, the experimental results demonstrate that the proposed algorithm, by organically combining model preprocessing with multidimensional feature matching, not only overcomes the computational bottlenecks faced by traditional methods when applied to complex models but also achieves sustained improvements in retrieval accuracy. The advantages in performance, scalability, and robustness make it a highly efficient, reliable, and broadly applicable solution for 3D CAD model retrieval.
Conclusion
This study proposes a retrieval method for mechanical part models based on B-Rep. By simplifying the model and filtering out non-structural features, the method reduces computational complexity while preserving essential geometric and topological information. The model is decomposed into multiple surfaces, from which comprehensive attributes are extracted to effectively represent both shape features and adjacency relationships. Compared with traditional methods, the proposed approach offers several advantages: it improves retrieval accuracy by jointly considering shape and topology attributes; it achieves high efficiency with fast computation and short processing time, thereby contributing to a reduction in the overall development effort and design workflow time; and it demonstrates robustness when handling models with relatively regular surfaces. These characteristics render the method particularly suitable for mechanical parts with simple or regular geometries and highlight its practical value for CAD model management and reuse in engineering applications. However, its applicability to complex models, especially freeform surfaces, remains limited.
Supplemental Material
sj-docx-1-ade-10.1177_16878132251409281 – Supplemental material for 3D model retrieval method of mechanical parts based on B-Rep
Supplemental material, sj-docx-1-ade-10.1177_16878132251409281 for 3D model retrieval method of mechanical parts based on B-Rep by Yulun Chi, Yijun Tian, Xinyu Cui and Wenbo Zhu in Advances in Mechanical Engineering
Footnotes
Funding
Declaration of conflicting interests
Supplemental material
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
