Abstract
Nowadays, the management of product geometrical variations during the whole product development process is an important issue for companies’ competitiveness. During the design phase, geometric functional requirements and tolerances are derived from the design intent. Furthermore, the manufacturing and measurement stages are two main geometric variations generators according to the two well-known axioms of manufacturing imprecision and measurement uncertainty. GeoSpelling as the basis of the geometrical product specification standard enables a comprehensive modeling framework and an unambiguous language to describe geometric variations covering the overall product lifecycle thanks to a set of concepts and operations based on the fundamental concept of the “Skin Model.” In contrast, only few research studies have focused on the skin model representation and simulation. The skin model as a discrete shape model is the main focus of this work. We investigate here discrete shape and variability modeling fundamentals, Markov Chain Monte Carlo simulation techniques and statistical shape analysis methods to represent, simulate, and analyze skin models. By means of a case study based on a cross-shaped sheet metal part, the results of the skin model simulations are shown here, and the performances of the simulations are described.
Keywords
Introduction
In modern production engineering, new complex products with controlled tolerances are being increasingly adopted to improve companies’ market position. Geometric variations are inevitably generated during the manufacturing stage due to the accuracy of manufacturing technologies. 1 Geometric variations are also generated during the measurement stage considering measurement uncertainty. 2
Within the context of product lifecycle management (PLM), information communication and sharing requires to manage the geometric variations along the whole product lifecycle. The geometric variations should be considered early in the tolerancing process in the design stage. 3 Many computer-aided tolerancing (CAT) tools can help designers for functional tolerance specification, but they are limited to control the geometric variations when covering the whole product lifecycle. Different modeling frameworks have been proposed to build coherent and complete tolerancing process along the whole product lifecycle.
Hillyard and Braid 4 developed the concept of variational geometry that is a dimension-driven, constraint-based technique. Another early example of previous work of tolerance-modeling technique is the solids offset approach proposed by Requicha, 5 in which the tolerance zones of workpieces are obtained by “offsetting” the nominal boundaries. Bourdet 6 developed the concept of the small displacement torsor (SDT) to solve the general problem of the fit of a geometric surface model to a set of points using rigid body movements. Based on the solids offset approach, Jayaraman and Srinivasan proposed virtual boundary requirement (VBRs) and conditional tolerance (CTs) approach.7,8 Etesami 9 formalizes the solids offset model and proposed using tolerance specification language (TSL) to describe tolerance constraints. Shah et al. 10 proposed a dimension and geometric model, which is based on the relative degrees of freedom of geometric entities: feature axes, edges, faces, and features-of-size. Roy et al. 11 presented a mathematical scheme for interpreting dimensional and geometric tolerances for polyhedral parts in a solid modeler.
Among them, GeoSpelling proposed by Ballu and Mathieu, 12 as the basis of the geometrical product specification (GPS) standard, enables a comprehensive modeling framework and an unambiguous language to describe geometric variations covering the overall product lifecycle thanks to a set of concepts and operations based on the fundamental concept of the “Skin Model.” Different from the nominal model that is deemed as an ideal representation, the skin model is a shape model to represent non-perfect shapes. 13 To the best knowledge of the authors of this article, the operationalization of GeoSpelling has not been successfully completed and few research studies have focused on the skin model representation and simulation.
In ISO 17450-1, 13 a skin model is a shape model. Early researches in tolerance-based modeling lead to the development of attribute-based systems. 14 These efforts could be roughly classified either as point-based (e.g. point cloud), surface/shell-based, or volume-based. 15 A shape representation scheme can be defined as a mapping from a computer structure to a well-defined mathematical model that defines the notion of the physical object in terms of computable mathematical properties and is independent of any particular representation scheme. 16 Johnson 17 proposed a tolerance representation approach, which integrates dimensioning and tolerancing modelers with the geometric modelers. This B Rep–based model is applicable only for location and size tolerances, and it is limited to geometric entities such as planar faces, cylindrical faces, conical faces, and spherical faces. Requicha 18 proposed a constructive solid geometry (CSG) -based tolerancing representation model, which is named as PADL-I and PADL-II modeler. The limitation of this CSG-based approach is that all of non-primitive faces derived from the same primitive face receive the same variations. Gossard et al. 19 proposed a similar feature-based design system, which combines B-Rep solid model and GSG-representational scheme. This approach can be employed on a polyhedral solid model, but it is limited to the conventional tolerance representation.
Considering dense point data can be acquired by scanning techniques and discrete shapes are commonly used in production engineering, this research work focuses on discrete skin representation and simulation. It would also be efficient for the operationalization of GeoSpelling based on discrete skin model representation. Based on discrete skin model, discrete geometry processing techniques will enhance GeoSpelling-computing capabilities and enable its operationalization. 20
In order to enrich the skin model when considering the deviations from the nominal or computer-aided design (CAD) model, the authors have assessed the geometric deviations at many different scales. Kurfess and Banks 21 modeled the manufacturing error using a sequence of models based on statistical hypothesis testing of the fitted residuals. Yang and Jackman 22 evaluated form error using statistical method without independently analyzing the statistical properties of the associated residuals. Samper and Formosa 23 proposed a way to define form error parameters based on the eigenshapes of natural vibrations of surfaces. The originality of this method is that the set of form parameters can be computed for any kind of shape.
In this article, the authors investigate Markov Chain Monte Carlo (MCMC) simulation techniques and statistical shape analysis (SSA) methods to represent, simulate, and analyze skin models. A global-modeling approach based on principal component analysis (PCA) and a local modeling approach based on augmented Darboux frame is considered here. The local–global modeling approach enables the simulation of both random and systematic deviations when considering geometric constraint requirements, tolerance specifications, and manufacturing. In addition to discrete shape modeling for skin model representation and simulation, the concept of the mean skin model and its robust statistics are also introduced in this work.
The remainder of this article is organized as follows: first, the Monte Carlo simulation techniques and local/global modeling approaches for discrete skin model simulation will be introduced; second, the SSA for discrete skin models will be addressed; and finally, a case study to apply the proposed methods will be presented.
Skin model simulation
Skin model is a representation of real shapes. The geometric characteristics of real shapes should be fully considered for skin model shaping. In Caskey et al., 24 the geometric deviations of the real surface to the nominal one are caused by two kinds of deviations: random deviations and systematic deviations. In this article, both are simulated to construct a complete skin model. Considering a designed shape is specified with geometric tolerances, the simulated skin models are located within the specified tolerance zones, which can be defined as constraints of skin model generation methods. 25 In this research, the deviations caused by random errors follow Gaussian (normal) distribution, which has been proven to be reasonable for mechanical applications, 26 while systematic deviations are reproducible inaccuracies that follow recognizable signatures, which can be calculated or simulated from target shapes.
Random deviation simulation based on MCMC
Random simulation techniques can be classified into physical and computational methods. The computational random simulation numbers are obtained by computational algorithms, which produce long sequences of apparently random results. Actually, the computational random numbers are pseudorandom, and they are determined by the initial value of the algorithm. Based on the hypothesis that the random deviations follow Gaussian distribution, three statistical methods have been developed for random deviation simulation: one-dimensional (1D) Gaussian, multi-Gaussian, and Gibbs methods. 25 The results of the Gaussian methods are influenced by the selection of the initial seed value. However, Gibbs methods are initial seed-independent. In this section, the Gibbs method is discussed in detail.
Gibbs method defined here is used to simulate the multi-Gaussian distribution of random numbers using the MCMC methods. The MCMC method generates a sequence of samples from the joint probability distribution of two or more random variables by iterative process. These methods are based on constructing a Markov chain that has the desired distribution and only depends on current state instead of the entire past data. Hence, Gibbs method provides reliable Gaussian distribution results.
In Gibbs sampling, a vector of parameters of interest
For
Let
Sample
Sample
Thus, sample
And then, sample
Let
The joint distribution of
In this case, there are 273 points as input point set, and the stationary objective function follows a Gaussian distribution. Based on Gibbs method, 1000 times interactive process is adopted, and the sampling random variables from Gaussian random numbers simulated the skin model as Figure 1.

Skin model simulation by Gibbs method: (a) nominal model; (b) skin model view 1; (c) skin model view 2; and (d) skin model view 3.
Global approach
The skin model should satisfy tolerance specifications associated to the relevant nominal model. It means that the simulated skin model should be within the corresponding tolerance zone. Here, three types of geometric tolerances are considered: form tolerance, orientation tolerance, and position tolerance. After creating the random point set to simulate the skin model, the authors also intend to add geometric dimensioning and tolerancing constraints on it to satisfy the specification requirements. In order to simulate the skin model within a given tolerance zone, the direction of the tolerance zone should be determined first. For this purpose, a global model approach based on PCA is developed here.
The PCA is a mathematical method used to convert a set of correlated variables into a set of values of uncorrelated variables called principal components. 27 It is usually used to evaluate the main element or structure of a set of data. Based on the covariance matrix, the PCA method proceeds in such a way that the first principal component has the highest variance (i.e. accounts for all the variability in a data set), and each succeeding component in turn has the highest possible variance within the constraint.
Consider a discrete shape
(a) The origin of the principal coordinate system is determined as the centroid of
(b) The covariance matrix is defined by the following equation
(c) The eigenvalues and eigenvectors can be calculated. The first principal axis is the eigenvector corresponding to the largest eigenvalue. The two other principal axes are obtained from the remaining eigenvectors.
In the following, a case study with flatness specification (form tolerance) is discussed to illustrate the method for skin model simulation considering the tolerance constraints.
In Figure 2(b), the point set is a skin model of a plane that follows the Gaussian distribution. Using PCA method, the principal axis in three-dimensional space is evaluated. The direction of the third principal axis

Skin model simulation with flatness specification: (a) the case with flatness tolerance and (b) flatness constraint.
Local approach
The “Global approach” section discussed the skin model simulation considering random deviations from a global perspective. Different from random errors that are statistical fluctuations, systematic deviations are reproducible. They usually follow recognizable signatures that can be calculated or simulated. In skin model shaping, it is thus reasonable to define some basic shape models (e.g. second-order shapes) to simulate those systematic errors. 28
The augmented Darboux frame described the orientation, principal curvatures, and directions at a point on a surface
29
can be used as a local representation for a surface at each sample point. Let
Kurokawa and Ariura 28 mathematically proved that an arbitrary second-order surface can be transformed into a fundamental form of the second order by the combination of rotation, translation, and scaling transformations. Based on this argument and augmented Darboux frames, the authors propose to model here the systematic deviations as one or a combination of some basic second-order surfaces or quadric shapes.
Systematic deviations simulation
The authors propose here the use of second order–form deviations to simulate the systematic deviations, since the second order–form deviations can reflect the principle curvature and the anisotropy of complex shapes better than the first-order and higher-order deviations. 28
For a plane, the common possible shapes considering the systematic deviations include: paraboloid, cone, sphere, cylinder, and ellipsoid. The morphing operation is a combination of a pure morphing, translation, and rotation of these basic shapes.
As an example, a paraboloid surface is simulated from the discrete model of a plane. The principle of our method can be explained by Figure 3, in which

Paraboloid morphing method for planar shape.
The distance between these two points in
SSA
The SSA is commonly used for variability considerations in computer graphics, image processing, and bioinformatics domains. 30 The basic idea of this method is to establish a training set. The pattern of product geometric variation and the spatial relationships of structures are in a given class of shapes. Statistical analysis is used to give an efficient parameterization of this variability and to provide a compact representation of shapes.
To establish a statistical shape model, the following four steps are needed: 31
Acquiring a training set from observation shapes;
Determining the correspondence of the observation shapes;
Aligning the training set through registration operations;
Analyzing the principal components and establishing the statistical shape models.
Suppose that a collection of
The covariance of this collection of skin models can be calculated by the following equation
The covariance matrix
The eigenvalues reflect the variance of the principal components. When the principal component has a bigger eigenvalue, it reserves more information of an initial sample. In our method, the principal components with bigger eigenvalues are selected to simulate the initial sample vector. The first
Let
where
The main function of statistical shape model is to determine the mean model among numerous sampling shape models and to predict new shape model belonging to the same shape family. Since
Case study
The case study is based on a sheet metal part manufactured in a one-stage sheet metal forming process. The manufacturing process is simulated using stochastic finite element (FE) techniques. The tooling is modeled as rigid parts and a process macro is used to define the processes, such as stamping velocity, blank holder force, and friction. An initial model of the stamping process is served as a basis for the variation of process parameters. The selected variables (e.g. blank thickness, drawing depth, punch radius, die radius, and flange width) are computed using Latin hypercube sampling under the assumption of the independence of the variables and normal distributions. 32 The manufactured cross-shaped parts was measured using ATOS-Ifringe projection system. Figure 4 shows the CAD model of the cross-shaped part and its geometric specifications.

The cross-shaped part.
Skin model simulation
In this case, the simulation method of the skin model of a bottom plane with flatness specification constraints is considered. Based on the CAD model (Figure 5), the bottom plane can be extracted using CATIA V5 generative shape design (GSD) utilities as illustrated in Figure 6.

Segmentation of the computer-aided design model.

Bottom plane extraction.
In order to discretize the bottom plane, a tessellation operation is implemented using CATIA V5 software. Figure 7 illustrates the tessellation result composed of 2392 points and 4550 facets.

Tessellation of the bottom plane.
Based on the tessellated CAD model and the geometric specification of flatness, different skin models can be generated using the methods discussed in the “Skin model simulation” section. In this case, we create skin models of the bottom plane by Gibbs method with flatness equals to 0.3 mm.
However, based on the information from measurement and simulation data, the skin model can be improved considering both systematic and random errors. The analysis of this measurement point set is illustrated in Figure 8.

Analysis of measured point data of cross-shaped part.
Based on the nominal discrete bottom plane model (Figure 7), the skin model with ellipsoid systematic deviations is simulated (see Figure 9). To visualize the deviations clearly, the limited deviations are reflected by red and blue colors.

Visualization of systematic deviations.
Random errors are added to the skin model with ellipsoid systematic errors. The Gibbs method is adopted to simulate the random errors. The skin model with both systematic errors (ellipsoid) and random errors (Gaussian distribution) is created. The representation of the skin model is refined using a color-scale technique (see Figure 10). It shows that the form deviations consider both the ellipsoid shape variety and Gaussian random noises.

Color scale of skin model with both systematic and random errors.
Statistical shape modeling
To calculate the mean model considered in the manufacturing process, a training set is designed with 10 models obtained using FE analysis (FEA) method.
32
The relationships among these 10 samples are established by landmark techniques. In our case, each landmark corresponds to a unique grid marked as

Landmarks arrangement.
Based on the dimensional scale and the coordinate reference system of the FEA technique, all the samples are aligned using the registration algorithm. Figure 12 shows the positions of all the samples reflected by a different color.
After aligning the samples, the mean model can be calculated using equation (4). Using the same process, the mean model of the training set can be obtained. These samples are simulated by the approach proposed in the “Skin model simulation” section.

Alignment of the training set.
Based on the PCA technique, the deviation between the mean model and each sample can be calculated using equation (5). The influence of each component can be deduced. According to the different kinds of mean models, the new skin models can be predicted based on equation (9) (Figure 13). This process is able to enrich the property of skin model, which can combine information from different design means, even manufacturing and inspection domains.

Predicted skin model with
Conclusion
Skin model simulation is one of the most critical issues in GPS and GeoSpelling domain. This article proposed to develop methods to shape the skin models with random and systematic deviations. Based on the hypothesis that the random deviations follow the normal distribution, the MCMC method is developed to generate the skin models with discrete representations. A new skin model simulation method combined both a global-modeling approach based on PCA, and a local-modeling approach based on augmented Darboux frame is considered. The local–global modeling approach enables the simulation of both random and systematic deviations when considering geometric constraint requirements, tolerance specifications, and manufacturing. In addition to discrete shape modeling for skin model representation and simulation, the concept of the mean skin model and its robust statistics are also introduced in this work. A new method based on statistic shape models is developed for skin model simulation and analysis. The contribution of this study to the industry is that it can enrich skin models with different influencing factors (such as temperatures, materials, stress, etc.).
Using a case study based on a cross-shaped sheet metal part, the results of the skin model simulations and statistical analysis are shown, and the performances of the simulations are discussed. The obtained results show the performance of this new approach.
Footnotes
Funding
The authors would like to thank China Scholarship Council (CSC) for its research funding.
