Skip to main content
Top
Published in:
Cover of the book

Open Access 2021 | OriginalPaper | Chapter

A Framework for Curvature-Based CAD Mesh Partitioning

Authors : Yifan Qie, Lihong Qiao, Nabil Anwer

Published in: Advances on Mechanics, Design Engineering and Manufacturing III

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

In ISO Geometrical Product Specifications and Verification Standards (GPS) [1], partition is one of the fundamental operations used to obtain ideal or non-ideal features of a product. The operation of partition produces independent geometrical features by decomposing the object. A curvature-based CAD mesh partitioning framework is proposed in this paper. The framework combines several key steps including curvature-based attribute calculation, local shape type refinement, region growing, slippage analysis and statistical modeling. The partitioned features are classified into seven invariance classes of surface in the context of ISO GPS. A case study shows that not only appropriate partitioning but also accurate invariance class recognition for GPS are achieved by the proposed framework.

1 Introduction

In ISO GPS, feature operations such as partition, extraction, filtration and association are used to obtain ideal and non-ideal features. Among these operations, partition is used to identify ideal or non-ideal features. The default partition segments the part into maximal surface portions that correspond to one of the seven invariance classes of surfaces, i.e. plane, sphere, cylinder, surface of revolution, prismatic, helix, and complex surface. The partitioned feature could be used to facilitate other operations such as association and filtration.
In this paper, existing partition methods are reviewed and a comprehensive classification is proposed. A curvature-based partitioning framework in the context of ISO GPS is developed. The framework contains two main stages, initial region partitioning and region refinement. A case study on a CAD mesh is presented to demonstrate the performance of the framework.
Partition or Segmentation is an important problem in geometry processing and is addressed by different topics and fields such as computer vision, civil engineering and mechanical engineering in the context of reverse engineering. Anwer et al. [2] put forward a classification of the existing partitioning approaches to provide scientific fundamentals for ISO GPS partitioning.
A more comprehensive classification is proposed as show in Fig. 1. The existing point cloud (PC, in short) and mesh partitioning methods are classified into six categories based on their methodologies. The attributes of the PC or the mesh such as curvature, geodesic distance, normal, dihedral angles, slippage, etc. are calculated in order to provide criteria for different methods [3].
Edge detection methods, or boundary-based methods, attempt to locate the edges of the object then group the points inside the boundaries [4]. Partitioning by region growing decomposes a mesh or a point cloud into regions that share similar properties [5]. A merging step is always needed to reduce the number of the obtained regions. The core of attributes clustering methods is to address the attributes for each point based on the geometric characteristics and then calculate the distance of each node to the specific region [6, 7]. Here we divide the clustering method into iterative clustering [6] and hierarchical clustering (or “direct clustering methods”) [7] according to the clustering process. Shape fitting methods try to fit primitive shapes such as planes, spheres, cylinders, cones or tori to the point cloud. Points are labeled as one partitioned region if they belong to the same primitive shape [8]. Spectral analysis methods try to use the eigenvalues and eigenvectors of a properly structured square matrix, which is informative of local geometric attributes of a mesh [9]. Recent advances in machine learning, especially deep learning technologies, provide novel solutions for the 3D point cloud and mesh segmentation. Attributes are used as the label features to train the learning model and the well-turned model achieves a significant improvement in results [10].
The key techniques and the attributes used for each type of methods introduced above are highlighted in Table 1. The output types of each reference are classified into semantic (e.g. a shaft) and geometric (e.g. a cylinder).
It can be seen that existing methods are able to segment the object into different regions. However, it is critical to identify the segmented regions as seven invariance classes in the context of ISO GPS. Meanwhile, most of the methods use post-processing steps to ensure the segmentation results. Therefore, a framework that combined a variety of techniques is preferable to be implemented for obtaining robust results.
Table 1.
Summary and comparison of existing partitioning methods
References
Category
Input
Technique
Attributes used
Output
[4]
Edge detection
Mesh
Random walk
Shortest graph path
Semantic
[5]
Region growing
PC
An octree-based region growing method
Normal vector and residual value
Geometry
[6]
Attributes clustering
Mesh
Heat mapping
Heat mean signature
Semantic
[7]
Attributes clustering
Mesh
Hough transformation, mean shift
Mean curvature field
Geometry
[8]
Shape fitting
PC
Random sample consensus
Normal
Geometry
[9]
Spectral analysis
PC
Heat walks and a curvature-aware segmentation
Symmetric point cloud Laplacian
Semantic
[10]
Label learning
PC
Conditional random field
Unary features
Semantic

3 Curvature-Based Framework for ISO GPS Partitioning

Curvature is an important tool for analyzing the geometry of surfaces since it specifies the second-order properties of a surface and is independent of the used parametrization. Based on the curvature estimation of points on a given mesh, a framework of partitioning in the context of ISO GPS is presented as shown in Fig. 2.
Since a point-cloud does not provide much point-set topological information, a mesh representation should be firstly reconstructed according to some specific criteria as the input of the proposed framework [11]. The output are the partitioned features in accordance with the seven invariance classes defined in ISO GPS. Initial region partition and region refinement are conducted as two main steps in the framework in order to obtain robust partition results.

3.1 Initial Region Partition

Firstly, the principal curvatures of each vertex (k1 and k2, i.e. maximum and minimum principal curvature) in the mesh is calculated. Secondly, shape index and curvedness [12, 13] in the neighborhood of each vertex are calculated based on the principal curvatures. Shape index specifies the local shape type and it is independent from size and the assignment of principal directions. Curvedness specifies the size and it is the amount of the surface curvatures in the neighborhood of a vertex. The shape index and the curvedness of a vertex are defined as (1) and (2).
$$ s\left( {{\mathbf{p}}_{i} } \right) = \frac{ - 2}{\pi }\arctan \left( {\frac{{\kappa_{1} \left( {{\mathbf{p}}_{i} } \right) + \kappa_{2} \left( {{\mathbf{p}}_{i} } \right)}}{{\kappa_{1} \left( {{\mathbf{p}}_{i} } \right) - \kappa_{2} \left( {{\mathbf{p}}_{i} } \right)}}} \right) $$
(1)
$$ c\left( {{\mathbf{\textit{x}}}_{i} } \right) = \sqrt{\frac{{{ {\kappa_{1}^{2} \left( {{\mathbf{\textit{x}}}_{i} } \right) + \kappa_{2}^{2} \left( {{\mathbf{\textit{x}}}_{i} } \right)} } }}{2}}$$
(2)
Each vertex on the mesh will be clustered into sharp edges and several shape types by evaluating their shape index and curvedness values. Vertices belonging to sharp edges are detected at first in the framework.
Due to the error of point data during the acquisition process in practice [14], the vertices in a relatively small region do not share the same value of curvedness and shape index. Therefore, an iterative voting method [15] is conducted in order to refine the local shape type. The 11 types of local shape are the label calculated for each vertex according to its shape index value.
After the local shape type refinement, labelled points on the mesh are connected to each other by a region growing method, as illustrated in Fig. 3. In each iteration, the point which is not labeled will be chosen as the initial seed for region growing process. All the neighbor vertices of the seed will be checked if they share the same local shape type index. The neighbor points will be set as the new seed of growing process if they share the same local shape type index. The full region growing process stops when all the vertices are labeled by a group number.

3.2 Region Refinement

The obtained regions from the region growing process become the initial patches as the input of region refinement. A slippage signature-based algorithm [16] is used to merge the regions. In the method, a geometrical feature called slippable motion are calculated for each initial patch. Adjacent region pairs are evaluated by the slippage signature and are merged into one region if they share the same value. Further post-processing steps are conducted after the slippage merging of the surface in order to reduce the impact by noise data.
Merged regions by slippage analysis are not classified in the context of ISO GPS seven invariance classes. Therefore, vertices which are grouped from the input mesh should be registered according to local properties. A statistical modeling method proposed by [17] is utilized to provide a statistical description of each region with strong mathematical basis. After invariance class recognition, quick and accurate identification of features is addressed by labeling the regions.

4 Case Study

A test part is used as a case study to show the effectiveness of the proposed framework for CAD mesh partitioning. The part is designed by CAD system and manufactured as in Fig. 4.
The 3D nominal shape of the part is represented by a mesh model. Shape index and curvedness of each vertex on the mesh are calculated. Then local shape type refinement and region growing methods are implemented to stabilize the indicator of each point in the mesh.
Slippage analysis is used to merge small patches into a large region. The independent 38 regions of the mesh (in random color) are the partitioning result by slippage analysis. An invariance class recognition method by statistical modeling are then implemented to label these regions. The results are recognized and visualized according to seven invariance classes.

5 Conclusion

A curvature-based mesh partitioning method framework is proposed based on a comprehensive literature review. The proposed framework is able to partition 3D CAD mesh into regions in the context of ISO GPS. The result of implementation and testing shows that the proposed method can partition the tessellated nominal models appropriately. Future work will investigate the applicability of the approach in the context of measurement for ISO GPS verification.

Acknowledgments

This research has benefitted from the financial support of China Scholarship Council (first author).
Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://​creativecommons.​org/​licenses/​by/​4.​0/​), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
Literature
1.
go back to reference ISO 17450-1:2011, Geometrical product specifications (GPS)—General concepts—Part 1: Model for geometrical specification and verification. Geneva, International Organization for Standardization (2011) ISO 17450-1:2011, Geometrical product specifications (GPS)—General concepts—Part 1: Model for geometrical specification and verification. Geneva, International Organization for Standardization (2011)
2.
go back to reference Anwer, N., Scott, P.J., Srinivasan, V.: Toward a classification of partitioning operations for standardization of geometrical product specifications and verification. Procedia CIRP 75, 325–330 (2018)CrossRef Anwer, N., Scott, P.J., Srinivasan, V.: Toward a classification of partitioning operations for standardization of geometrical product specifications and verification. Procedia CIRP 75, 325–330 (2018)CrossRef
3.
go back to reference Shamir, A.: A survey on mesh segmentation techniques. Comput. Graph. Forum 27(6), 1539–1556 (2008)CrossRef Shamir, A.: A survey on mesh segmentation techniques. Comput. Graph. Forum 27(6), 1539–1556 (2008)CrossRef
4.
go back to reference Golovinskiy, A., Funkhouser, T.: Randomized cuts for 3D mesh analysis. ACM Trans. Graph. 27(5), 1 (2008)CrossRef Golovinskiy, A., Funkhouser, T.: Randomized cuts for 3D mesh analysis. ACM Trans. Graph. 27(5), 1 (2008)CrossRef
5.
go back to reference Chen, J., Chen, B.: Architectural modeling from sparsely scanned range data. Int. J. Comput. Vis. 78(2–3), 223–236 (2008)CrossRef Chen, J., Chen, B.: Architectural modeling from sparsely scanned range data. Int. J. Comput. Vis. 78(2–3), 223–236 (2008)CrossRef
6.
go back to reference Fang, Y., Sun, M., Kim, M., et al.: Heat-mapping: a robust approach toward perceptually consistent mesh segmentation. In: CVPR 2011, pp. 2145–2152. IEEE (2011) Fang, Y., Sun, M., Kim, M., et al.: Heat-mapping: a robust approach toward perceptually consistent mesh segmentation. In: CVPR 2011, pp. 2145–2152. IEEE (2011)
7.
go back to reference Xiao, D., Lin, H., Xian, C., et al.: CAD mesh model segmentation by clustering. Comput. Graph. 35(3), 685–691 (2011)CrossRef Xiao, D., Lin, H., Xian, C., et al.: CAD mesh model segmentation by clustering. Comput. Graph. 35(3), 685–691 (2011)CrossRef
8.
go back to reference Schnabel, R., Wahl, R., Klein, R.: Efficient RANSAC for point-cloud shape detection. Comput. Graph. Forum 26(2), 214–226 (2007)CrossRef Schnabel, R., Wahl, R., Klein, R.: Efficient RANSAC for point-cloud shape detection. Comput. Graph. Forum 26(2), 214–226 (2007)CrossRef
9.
go back to reference Williams, R.M., Ilieş, H.T.: Practical shape analysis and segmentation methods for point cloud models. Comput. Aided Geom. Des. 67, 97–120 (2018)MathSciNetCrossRef Williams, R.M., Ilieş, H.T.: Practical shape analysis and segmentation methods for point cloud models. Comput. Aided Geom. Des. 67, 97–120 (2018)MathSciNetCrossRef
10.
go back to reference Kalogerakis, E., Hertzmann, A., Singh, K.: Learning 3D mesh segmentation and labeling. In: ACM Transactions on Graphics (TOG), vol. 29, no. 4, p. 102. ACM (2010) Kalogerakis, E., Hertzmann, A., Singh, K.: Learning 3D mesh segmentation and labeling. In: ACM Transactions on Graphics (TOG), vol. 29, no. 4, p. 102. ACM (2010)
11.
go back to reference Dey, T.K.: Curve and Surface Reconstruction: Algorithms with Mathematical Analysis. Cambridge University press, Cambridge (2006). (Cambridge Monographs on Applied and Computational Mathematics) Dey, T.K.: Curve and Surface Reconstruction: Algorithms with Mathematical Analysis. Cambridge University press, Cambridge (2006). (Cambridge Monographs on Applied and Computational Mathematics)
12.
go back to reference Koenderink, J.J., Van Doorn, A.J.: Surface shape and curvature scales. Image Vis. Comput. 10(8), 557–564 (1992)CrossRef Koenderink, J.J., Van Doorn, A.J.: Surface shape and curvature scales. Image Vis. Comput. 10(8), 557–564 (1992)CrossRef
13.
go back to reference Anwer, N., Mathieu, L.: From reverse engineering to shape engineering in mechanical design. CIRP Ann. 65(1), 165–168 (2016)CrossRef Anwer, N., Mathieu, L.: From reverse engineering to shape engineering in mechanical design. CIRP Ann. 65(1), 165–168 (2016)CrossRef
14.
go back to reference Weißgerber, M., Ebermann, M., Gröger, S., et al.: Requirements for datum systems in computer aided tolerancing and the verification process. Procedia CIRP 43, 238–243 (2016)CrossRef Weißgerber, M., Ebermann, M., Gröger, S., et al.: Requirements for datum systems in computer aided tolerancing and the verification process. Procedia CIRP 43, 238–243 (2016)CrossRef
15.
go back to reference Cai, N., Anwer, N., Scott, P.J., et al.: A new partitioning process for geometrical product specifications and verification. Precis. Eng. 62, 282–295 (2020) Cai, N., Anwer, N., Scott, P.J., et al.: A new partitioning process for geometrical product specifications and verification. Precis. Eng. 62, 282–295 (2020)
16.
go back to reference Gelfand, N., Guibas, L.J.: Shape segmentation using local slippage analysis. In: Proceedings of the Eurographics/ACM SIGGRAPH Symposium on Geometry Processing, pp. 214–223 (2004) Gelfand, N., Guibas, L.J.: Shape segmentation using local slippage analysis. In: Proceedings of the Eurographics/ACM SIGGRAPH Symposium on Geometry Processing, pp. 214–223 (2004)
17.
go back to reference Chiabert, P., Costa, M.: Statistical modelling of nominal and measured mechanical surfaces. J. Comput. Inf. Sci. Eng. 3(1), 87–94 (2003)CrossRef Chiabert, P., Costa, M.: Statistical modelling of nominal and measured mechanical surfaces. J. Comput. Inf. Sci. Eng. 3(1), 87–94 (2003)CrossRef
Metadata
Title
A Framework for Curvature-Based CAD Mesh Partitioning
Authors
Yifan Qie
Lihong Qiao
Nabil Anwer
Copyright Year
2021
DOI
https://doi.org/10.1007/978-3-030-70566-4_37

Premium Partners