Abstract
Enhanced single-patch NURBS (Non-uniform rational B-splines) parameterization is developed based on fitting parameter values, capable of handling dynamically changing shapes. With respect to NURBS and T-splines, the proposed single-patch parameterizations results in lower dimensionality enabling optimizers to operate on geometric parameters. Avoiding subdivision surfaces and continuity problems for piecewise NURBS and reparameterizations for T-splines accelerates optimization. This parameterization may be an approximation or initial solution for piecewise NURBS and T-splines.
These numerical benefits are accomplished using a multi-stage methodology. An augmented set of fitting variables is formulated beyond the weight factors and control points with parameter values of data points. This augmented set is structured to possess reasonable dimensionality. The developed non-linear fitting includes gradient-based minimization with respect to the augmented set and evolutionary error minimization using external functions. The benefits and potential difficulties of the procedure are evaluated thoroughly.
The methodology is tested on engineering objects of high shape complexity and demonstrated to provide superior single-patch fitting performance compared to standard linear fitting methods.
The developed numerical approach provides for the aspired main objective which is sufficiently accurate and numerically efficient dynamic shape parameterizaton using a compact set of shape parameters.
Introduction
Background, rationale and objectives
The computer-aided design (CAD) discipline has increasingly partnered with artificial intelligence methods and technologies, leading to entirely new perspectives in engineering design. Optimization-based re-design and reverse engineering of technical objects is one of the niches enabled recently by inheriting from the advanced 3D optical shape acquisition equipment and software. These technologies generally enable optimized performance and fast time-to-market. CAD systems have upgraded and evolved to being tools that are capable of modeling various objects and their coherence, restraints etc. Beyond the standard geometric primitives representing simple shapes, tools for free-form entities and point clouds have been developed and embedded as support for advanced geometric modeling.
At present, CAD tools support animations, simulations representing mechanisms and kinematic systems, systems engineering, practical modeling, modifications and distinctive particulars. External off-the-shelf or custom simulator applications can be coupled to provide additional functionality evaluations. Many engineering design problems involving CAD also rely on advanced external analysis methods, for example the finite element method in cases of requirements related to structural analysis. Occasionally, elementary optimization functionality is also supported. CAD systems are increasingly becoming comprehensive by integrating into product lifecycle management (PLM) systems which encompass standard CAD, CAM (manufacturing), CAE (engineering), reverse engineering, visualizations and other related activities.
A CAD model commonly involves many geometric primitives including complex ones such as NURBS, all combined (subject to constraint relationships) to jointly represent the respective engineering object.
Despite of advantages of using piecewise NURBS parameterization and T-splines in the fields of shape modeling and numeric analysis with respect to single-patch NURBS parameterization, those approaches suffer some drawbacks in dynamic aspects of the parameterizations. If we observe the results of those two approaches as input for an external numerical optimizer (CFD-computational fluid dynamics, FEA-finite element analysis, etc.) we are talking about dynamic processes of parameterization. During the process of dynamic parameterization, edges, peaks and other shape features may disappear and new ones may arise. The parameterization must be autonomously adaptable to such changes. This emphasizes the existing problems of subdivision surfaces and continuity at patch boundaries in the case of piecewise NURBS parameterization and completely new re-parameterization in the case of T-Splines. Therefore, in order to employ piecewise NURBS parameterization or T-splines in the process of dynamic parameterization, one has to be prepared for a long time period of execution of iterative and very complex numerical procedure.
We present enhanced single-patch NURBS parameterization based on fitting parameter values as a dynamic parameterization methodology. It is capable of handling dynamically changing shapes in optimization quasi-time iterations. It relies on papers [5, 36] which outline a parameterization based on fitting parameter values and classification of 3D shape deviation using feature recognition operating on parameterization control points.
This is related to 3D shapes acquired by applying optical 3D scanning [13], that include stereo-photogrammetry and triangulation [4, 22].
The proposed parameterization may be considered as an approximation or as an initial solution for the above mentioned approaches. Using single-patch parameterizations globally results in less dimensionality of the spatial solution what facilitates the use of an external numerical optimizer with results of the parameterization as input parameters. Furthermore, avoiding subdivision surfaces and continuity problems accelerates the process of optimizing shapes.
The term dynamic parameterization is in this paper related to shape optimization where the shape may change in optimization quasi-time. During this process, some geometric features may disappear and new one may appear. In such circumstances, adequate representation of the changing geometry is a prerequisite for satisfactory numerical precision and convergence of the optimization procedure. Advanced processing of the geometric information should establish a foundation for shape-related considerations including feature recognition and classification.
The motivation of this paper and its primary objectives are straightforward. In engineering optimization (especially when using genetic algorithms) it is of utmost importance to model shapes using sparing sets of shape parameters as the number of shape parameters maps into the dimensionality of the search space. This paper is motivated by the aspiration to avoid numerical procedures which use geometric information only and make no use of topologic information. Such methods, for example the ICP algorithm, do not converge globally or rely on genetic algorithms throughout the procedure. The overall objective of the proposed approach is to develop a new fitting procedure capable of representing complex geometries very accurately.
This paper, after reviewing the relevant literature and providing the basic terms of NURBS, develops the key elements of the proposed procedure including:
Obtaining a structured matrix form of the geometry, Formulating an augmented set of fitting variables including the control points, weight factors and parameter values of data points, Structuring and reduction of the augmented set towards moderate dimensionality, Developing a gradient-based non-linear fitting procedure with respect to the augmented set, Developing an evolutionary fitting error minimization using external functions.
whereby the benefits and potential difficulties of the developed procedure are critically assessed. This is accompanied by several complex engineering objects serving as test-cases for the deveoped methodology.
CAD models largely suffer from difficulties in sharing data among heterogeneous CAD systems. Zhang et al. [37] describe this problem and outline a new asymmetric strategy to enrich the theory of feature-based interoperability. Li et al. [16] contribute to this issue with a method to gain one-dimensional topological entity matching. Fortunately, the proposed parametric model does not suffer from this problem because it is mathematically well defined. As long as we do not extend the model to multi-patch NURBS or T-spline models, we do not need to care about this matter. Nevertheless, operating directly on systems of CAD geometric primitives is not suitable for many advanced applications such as shape optimization of engineering objects or shape synthesis in general. Non-uniform rational B-splines (NURBS) are the current standard technology that is used by CAD systems to represent free-form geometries. These entities provide for rather generic CAD model transformations and modifications using the corresponding operators which manipulate the model parameters.
Because of the NURBS restriction to a regular grid parameter domain and local refinement by inserting (multiple) knots which leads to a rising number of control points, the approaches which use integral compact (single-patch) NURBS parameterizations have found less application in the field of shape modeling and numerical analysis. Many authors resort to the use of piecewise NURBS parameterizations as well as the latest generally accepted mathematical model (T-splines). This approach avoids the main disadvantages of using single-patch NURBS parameterizations in shape modeling and numerical analysis.
Except for advantages and disadvantages of using piecewise NURBS parameterization and T-splines with respect to single-patch NURBS parameterization, several authors also outline the advantages of applying piecewise NURBS parameterization with respect to T-splines and vice versa. Riffnaller-Schiefer et al. [25] presented isogeometric shell analysis based on a subdivision algorithm that generalises NURBS to arbitrary topology. In terms of choosing a model, the authors draw attention to the lack of linear independence of the basic functions of the T-intersection and therefore consider the subdivision surfaces as the better choice than T-splines for isogeometric analysis. Using multiple knots results in adding columns or rows of control points which corresponds to a rising dimensionality of the spatial solution. The authors point out that if multiple knots are not supported, the boundaries cannot be parameterized correctly for the required symmetry conditions. Dimitri et al. [7] applied T-spline-based isogeometric analysis to frictionless contact problems between deformable bodies in the context of large deformations. The authors note the disadvantages of multiple NURBS patches such as discontinuity across patch boundaries, global refinement with respect to T-splines and a large percentage of NURBS control points which are needed only to satisfy topological constraints. Nguyen et al. [21] present Nitche’s method to couple non-conforming two and three-dimensional NURBS patches in the context of isogeometric analysis. The authors mention the benefits of using coupled patches with respect to single patch parameterization. Li et al. [17] established several fundamental properties of analysis-suitable T-splines which are important for design and analysis. The benefits of T-splines were used by Dimitri et al. [8] in NURBS and T-spline-based isogeometric analysis for cohesive zone modeling of interface debonding. Vučina et al. [35] have applied chained Bezier surfaces in shape optimization related parameterizations.
Campomanes-Alvarez et al. [3] use genetic algorithms and simplify open 3D meshes while preserving the accuracy, especially in areas of geometrical features. Extraction of unique feature related information is also a demanding task in the area of biometrics technologies. As a base for using the Hidden Markov Model (HMM), Meraoumia et al. [20] use VARiance measures (VAR) for invariant rotation and PCA (Principal Component Analysis) for compressing information regarding geometric features. Seifert et al. [33] outline the combinations of two sampling techniques for binary classification models. This classification can be utilized should a geometric feature be used in related methods. Elaborate overviews of various approaches in geometric modeling and parameterization regarding optimization and shape modeling are found in [27, 28]. Along with optimization and optimal design, different mathematical processing and numerical approaches are used in [6, 24, 29]. Distinct approaches to shape modeling exhibit significant impact on subsequent numerical analysis. In order to accomplish the necessary performance and functionality, the corresponding numerical approach and simulation procedures should be related with shape modeling. An adequate approach needs to promote efficient coupling of the geometric model and the simulation model. Geometric objects which constitute the overall shape model include simple primitives such as spheres and cylinders, but also involve complex mathematical curves and surfaces like B-splines and NURBS [2, 34], which provides for generality in modeling complex shape [1, 12, 26]. Recent improvements in CAD technology have resulted in advanced and powerful applicability. In [18, 19, 23, 30], the need to have parameterizations of the resulting point clouds as mathematical surfaces is outlined. Further aspects of best-fitting 3D mathematical surfaces such as B-spline and NURBS surfaces related to data-sets acquired by measurement and numerically generated surfaces is emphasized in [9, 10, 11, 15, 18, 23].
The papers [14, 31] consider shape optimization of structures using evolutionary algorithms which in fact combines sizing, shape and topology optimization. Cost-based optimization of space structures subject to different objectives and design code constraints was presented in [32] using parallelized GA algorithms.
Development of an efficient parameterization
The NURBS surface is defined by its control points, weight factors, degrees of polynomials and the set of knots,
where
The knots
The matrix
contains the set of control points, and the matrix
denotes the weight factors. For arbitrary arguments
Fitting a NURBS surface with matrix topology can be viewed as a procedure of deforming a flexible plate until it assumes the required shape. The control points of the NURBS surface can be perceived as vertices at which forces are applied which deform the plate accordingly. The extent of local deformation is determined by the degrees of the surface, and the intensity of local deformation is controlled by the homogeneous terms of the NURBS surface.
This analogy reveals that the flexible plate cannot be deformed at a point without affecting its surroundings, and it is a smooth function which describes this deformation. The same applies for the NURBS surface where the change of shape is smooth and encompasses a certain area regardless of the mechanism of change, whether it was imposed by control points, homogenous terms, parameter values or knot values.
The notion of fitting a NURBS surface to some given geometry with matrix topology implies in this paper that the geometry can be written in matrix form according to Eq. 6.
In order to obtain a matrix topology, we apply a projection of shape into a rectangular domain in all examples. The projection into a rectangular domain is generally an extensive and demanding topic and hence a subject of future work, while only outlined in this paper.
In this paper the term fitting to ‘geometry’ implies the ‘geometry’ to be a point cloud resulting for example from 3D scanning of some engineering object. An example of such geometries is shown in Fig. 1 which displays a point cloud of a small sailing boat hull with a number of cross-sections.
Matrix form of geometric data obtained by intersecting the point cloud by (a) parallel sections, (b) sections from a pole at different angles.
The matrix data-set topology consists of
There exists an
The expression Eq. 7 aims at finding the respective interval where the point
The pursuit of deriving the sections matrix
The procedure of fitting a NURBS surface to the geometry given by the sections matrix
where
For easier orientation in the case of the example in Fig. 1, the parameter
The corresponding parametric values can be assembled in matrix form
and
In terms of easier association of Eq. 9 with the example in Fig. 1, the rows in
Generally, the NURBS surface which represents the geometry of the sections matrix
which constitutes a least-squares problem. Minimizing the error function Eq. 10 reduces the cumulative sum of distances between the geometry
we calculate the actual geometric error by finding the closest point on the surface for each point
Two ways of determining the local fitting error: 
The procedure developed in this paper introduces topological optimization with respect to the parameter values
Figure 3 shows a NURBS surface which ‘numerically ideally’ represents the given (shape) geometry
(a) NURBS surface ‘ideally’ representing the geometry; (b) points of the ‘ideal’ NURBS surface and simultaneously points of the triangulated point cloud obtained by inserting corresponding parameter values into the NURBS surface definition Eq. 1.
Figure 3 shows the points of the ideal surface obtained for the parameter values according to Eq. 12. The NURBS surface in Fig. 3 is fitted to the geometry, the term geometry referring to the point cloud obtained by 3D scanning of a sailing boat hull. The cloud is subsequently processed and formatted to matrix form Eq. 6 as explained earlier related to Eq. 7, given the parameter values according to
and
Chord-length based assignment of parameter values could also be applied.
The 3D points obtained this way can also be viewed as the sections matrix
Background
If the section matrix

On the other hand, Fig. 4(b) shows the points of the ideal NURBS surface and the
The ambition of this paper is to enhance the best–fitting procedure as follows. The developed procedure intends to engage the matrices of parameter values
Figure 5 visualizes the respective
Graphical presentation of the 
However, any optimization including best-fitting should keep the number of degrees of freedom at the reasonable minimum for computational reasons. In the error function Eq. 10, the number of control points and hence also the homogenous terms is
Nevertheless, the size of the section matrix
These circumstances provide the rationale behind the original approach proposed and developed here. In the proposed approach, the matrices of parameter values
and
The developed procedure proposes that proceeding from the linear best-fitting solution (Fig. 6) and based on Eqs 13 and 14, the fitting procedure can be continued and augmented by non-linear best fitting:
The latter (b) is implemented by applying external functions which use only a few internal fitting parameters to impose the respectively available modes of changing the elements of
The advantage of this procedure is a sparing number of additional degrees of freedom with respect to standard linear best-fitting, and a much smaller number than if elements of
Nevertheless, the proposed reduction of the number of degrees of freedom also leads to a loss of globality of the optimization procedure. Moreover, the symmetrical parameter values (equal columns/rows inEqs 13, 14 in optimization) are more suitable for engineering objects with symmetrical shape than for general shapes.
Solution of the linear fitting problem [10], B-spline surface and control points.
The step (b) of the procedure is proposed in order to recover the globality of optimization and improve fitting for non-symmetrical objects. In the step (b), optimization of the matrices
The step (b) apparently also leads to the loss of globality of optimization since the elements of the matrices
Based on the proposed form of the matrices of parameter values, the error function can now be re-written as:
In the proposed approach, fitting with respect to the
Setting the
Error generated by standard linear fitting. (a) Deviation according to minimization function; (b) Deviation with respect to the closest point on the surface (actual geometric error).
It follows directly from the definition of the error functions that the error defined by the minimization function Eq. 15 is larger or equal than the actual fitting error Eq. 11, as clearly confirmed by Fig. 7.
Once the initial linear fitting has been accomplished, the procedure developed in this paper proceeds from the respective ‘linear’ solution treating it as the initial solution for the subsequent non-linear fitting. More specifically, the proposed procedure applies the nonlinear gradient method Levenberg-Marquardt for the follow-up minimization of the fitting error, now treating all of
The overall Jacobi matrix takes the form
Figure 8(a) displays the resulting new values of the
Result of Levenberg-Marquardt based non-linear fitting using Eq. 16. (a) Matrices 
It can be clearly observed in Fig. 8(b) that the control points heap up and concentrate in areas with significant change of geometry. This enables the fitted surface to be numerically superior and adhere better to the given geometry
This effect can be explained by recalling the fact that with NURBS surfaces a change of a control point
Conceptual illustration in 1D: impact of the developed non-linear fitting procedure, larger points (
In order to achieve increased density of the control points
The fitting error of the non-linear fitting procedure based on the Levenberg-Marquardt method as described above is visualized in Fig. 10.

Again, the error in Fig. 10(a) is based on the definition in Eq. 15, and the error in Fig. 10(b) is the actual fitting error Eq. 11.
The cumulation of the control points in areas with significant change of shape accomplished by the developed procedure has resulted in the important achievement of reducing the fitting error in those areas, an effect also demonstrated in [36]. This is illustrated in Fig. 11 which visualizes the difference in the respective fitting error between the linear fitting procedure (Fig. 7(a)) and the proposed enhanced non-linear procedure (Fig. 10(a)).
Difference of fitting error generated by linear- and Levenberg-Marquardt based non-linear fitting.
While offering major improvements in performance, the proposed procedure with the augmented vector of degrees of freedom
However, a significant problem which may occur is geometric singularity, Fig. 12, which may be caused by several reasons. Geometric singularity may be the consequence of losing the device
Geometric singularity with this regard is a local optimum which cannot be escaped easily. At the edge of the singularity, the normals of the surface deviate from the normals of the given geometry, Fig. 12(c). A suitable intervention to avoid singularity is to augment the error norm in Eq. 15 by additional terms quantifying the difference of the corresponding normals in the given geometry and those of the fitted surface.
Example of geometric singularity, (a) Geometry, (b) NURBS surface as the solution of the linear fitting problem, (c) NURBS surface as the solution of Levenberg-Marquardt based non-linear fitting.
A test example for the gradient-based non-linear fitting. (a) Formula-student racing car; (b) Geometry.
Another numerical difficulty which may potentially arise is related to the intervals of the parameter values which should be contained within the ranges given by
The object in Fig. 13(a), digitized by virtue of optical 3D scanning into the cloud in Fig. 13(d). represents a complex test-shape for the proposed method. Two different sizes of the parameters set were applied, 30
The results of gradient-based non-linear fitting for Fig. 13, left side (a, c, e) using 30 
Using more control points (Fig. 14) results in less error both according to the minimization function and also in terms of actual error (with respect to closest point). Regardless of respectively larger error, the right column example (case b) represents a numerically satisfactory solution in terms of dynamic parameterization, which confirms the quality of the proposed method. This confirms that the proposed non-linear fitting provides a satisfactory representation of the shape even for a moderate-sized set of fitting variables and that the error reduces further for a higher multitude of fitting parameters.
The procedure developed in this paper builds a further enhancement on top of the improved result of non-linear fitting illustrated in Fig. 8(b) and based on error minimization as formulated in Eq. 15 with respect to
The solution of the Levenberg-Marquardt non-linear best fitting procedure (LM) as elaborated so far and displayed in Fig. 8(a) is now taken as the initial solution for the matrices
In this paper, the function to implement the change in the matrices
with
The parameters exposed to the genetic algorithm are
In the following text, ‘LMRC’ will refer to applying the Levenberg-Marquardt non-linear fitting with respect to the rows and columns
Figure 15 shows the distribution of the function
which assigns the value of the eigenvalue (
In the cases when one of the eigenvalues is significantly smaller than the other two which are almost equal (
Combining the functions
This corresponds to the intention in this step of the procedure, namely less dense distribution of control points in monotoneous zones and their higher density in zones with intensive change of shape.
Distribution of eigenvalue ratios for matrix 
Result of genetic-algorithm based optimization with external functions (GAEF), 15 
As a summary, the nonlinear best fitting developed and demonstrated here consists of two subsequent procedures, the first being gradient-based fitting error minimization with respect to
From the theoretical point of view it seems insignificant in which order the fitting error is minimized, by applying LMRC followed by GAEF or vice-versa. Numerical tests have shown that for objects with symmetric portions LMRC followed by GAEF may be the better option. Alternating application of LMRC and GAEF in the solution space makes the procedure swap from one local optimum to another. The symmetric solution produced by LMRC is converted to an asymmetric, improved solution by GAEF.
Already after the first GAEF execution, further iterations all yield asymmetric solutions. This is not an issue for the follow-up LMRC steps since the error function Eq. 15 does not require the rows/columns of the
As a concluding remark related to the developed fitting procedure it should be stressed that the ultimate objective is to obtain a NURBS surface which represents the geometry of some object with required accuracy. The accuracy is measured by squared deviations such that good fitting can be obtained by least-squares formulations. Two different combinations of the steepest descent method and Newton’s method were applied, the Levenberg-Marquardt (LM) and Dog Leg (DL) methods. The algorithm is executed until the value of the deviation error function is reduced below the prescribed tolerance. Both methods use the corresponding Jacobian which is here approximated numerically, hence the number of degrees of freedom was reduced for computational efficiency. The LM method has produced the requested accuracy in all test cases and determined the resulting NURBS surface for all selections of the damping term.
Automotive crankshaft as a test object, 25 
Result of genetic-algorithm based optimization with external functions (GAEF), 35 
On the other hand, the DL method has not produced good results. While better results were obtained for smaller trust regions, the error could not be significantly reduced any further after the few initial iterations and was still less precise than the LM result. Since the DL procedure requires fewer calculations of the Jacobi matrix, the DL was applied in cases with larger multitudes of degrees of freedom, nevertheless the execution failed in those cases. It can be assumed that the DL procedure cannot accomplish the required accuracy because of the many local minima of the function. While the LM method has the capacity of escaping neighborhoods of local optima even after a few iterations, the DL procedure cannot do it based on Newton’s iterations. Hence the conclusion here is that the LM method should be the method of choice for acquiring precise and robust solutions in NURBS surface fitting.
In the following, we provide examples that encompass a spectrum of engineering objects and demonstrate the robustness of the developed approach. We decided to test the performance of our method on real engineering objects rather than numerically generated surfaces since this is less biased, especially as real objects embed real geometric features. The examples include visual presentations of geometries with prominent parts, respective NURBS surfaces after linear fitting and LMRC, deviations according to the minimization function and also the corresponding matrices
As mentioned in the introduction, we applied a projection of the shape into a rectangular domain in order to obtain a matrix topology of the matrix
The following example (Fig. 17) is a part of an automotive crankshaft which presents an extremely demanding shape. The part includes edges, cylinders and small hemispheres involving strong asymmetry which is undesirable in the process of fitting because of a much larger number of control points needed to describe such a shape.
Figure 17(a) shows the polygonised point set obtained by optical 3D scanning and corresponding processing, part of which is selected to test the developed procedure (Fig. 17(b)). Figure 17(d) presents the resulting distribution of the control points after applying the LMRC non-linear fitting developed in this paper as opposed to the standard linear fitting from literature (Fig. 17(c)). Figure 17(f) shows the improved fitting error distribution of the developed procedure accompanied by the ‘reference’ error distribution of the ‘standard’ linear fitting (Fig. 17(e)). The major improvement derives from the fact that the control points were able to relocate towards the more expressed features of the object while ‘leaving’ the ‘simpler’ shape portions such as the almost planar elements. Nevertheless, the improved fitting is not so evident visually in this example since most of the relocated control points were attracted towards the small hole on the right bottom part of the object, which is essentially a local shape feature. It can also be observed that the edges of the shape are much better pronounced with the developed enhanced fitting procedure. Nevertheless, the following example (Fig. 18) is selected such that it contains a local damage feature which visually more clearly emphasizes the advantages of the proposed method. Figure 17(g) shows the resulting distribution of the parameter values which accompanies Figs 17(d) and (f).
From the deviation according to the minimization function it is obvious that LMRC procedure results in less deviation in cylindrical areas (Fig. 17(f)). That is mainly attributed to the weighting factors of the NURBS surface. From the layout of the control points it is evident that cylindrical areas need a smaller number of control points to be described with respect to the linear problem. This is just a confirmation of the mathematical background of the NURBS definition.
This example (Fig. 17) also visualizes that relatively small geometric features such as a hemisphere or a bolt also have a sharper geometric presentation with respect to the corresponding linear fitting. Nevertheless, the drawbacks of single-patch NURBS parameterization for accurate presentation of geometries which include relatively small geometric features are here obvious. Such areas require more rows/columns to be represented. During optimization, the small features move the control points away from the areas of larger geometric features. Strictly mathematically, small features imply a larger number of local solutions. The error function in such cases does not possess local solutions which would represent the larger features with better accuracy. However, small local features may not be significant within the context of dynamic parameterization.
Figure 18 presents another complex example of an engineering object containing several local features (e.g. bolts, local damage). Figures 18(e) and (c) clearly indicate the improvement of the fitted surface at the location of the damage accomplished by GAEF as opposed to only applying LMRC (Figs 18(d) and (f)).
A question might arise why we present topology optimization and fitting based on parametric values in areas containing features (e.g. edges) as advantages of the proposed method. We could namely apply several NURBS patches with those edges as borders. The answer is embedded in the fact that the process in dynamic parameterization is excessively complicated, especially the procedure of automatic/semi automatic partitioning of the geometry. Moreover, the proposed method can easily be applied to partitions with geometric features in multi-partition parameterizations.
The computational cost for example in Fig. 18
The computational cost for example in Fig. 18
The overall proposed procedure is shown in Algorithm 1.
Mesh obtained from 3D scanning system; Dimensions of matrix Number of control points: Degrees of basic function:
Projecting input mesh into rectangular domain;
Generating matrix
matrices
Detecting geometric features;
Linear problem – initial surface
LMRC – improved surface
GAEF in adjacency of dominant geometric
features;
nIteration
The above examples clearly demonstrate the advantages of the proposed method. In terms of computational time and numerical complexity, Table 1 provides adequate insight for the example in Fig. 18.
The size of the respective matrix
Shape optimization is increasingly becoming a key ingredient in engineering design, whereby the focal problem is frequently efficient, trustworthy and accurate geometric modeling. In many cases, re-enginee- ring of shape towards optimality involves using some existing shape as the initial solution in numerical optimization.
Shape optimization in engineering should in many cases not operate directly on some CAD database defining the elementary geometric primitives as constituents of the engineering object. This approach would be inefficient in such cases as many insignificant geometric details would be dealt with. Moreover, many constraint relationships in the CAD model would have to be obeyed during the shape optimization process. In such cases, relatively simple shape representation using overall 3D parametric surfaces or few chained piecewise surfaces would be much more beneficial for overall efficiency of shape optimization. Nevertheless, this requires sparing parameterizations with an as-small-as-possible multitude of shape parameters, yet providing high quality of shape representation, which is a challenging problem in itself. The numerical procedure presented in this paper develops several original numerical interventions to empower efficient integral 3D representation of engineering objects.
The developed procedure incorporates innovative non-linear fitting of NURBS surfaces consisting of gradient-based fitting error minimization with respect to NURBS control points and row/column-wise optimization of NURBS parameter values for the given geometry. This is followed by genetic-algorithm based optimization of parameters of external functions steering a further mode of displacement of the parameter values for the given geometry. The developed procedures are shown to be successful using several complex engineering objects.
Specifically, the proposed methodology combines several numerical operations into a single-patch non-linear NURBS fitting procedure. They include the
Formulation of an augmented set of fitting variables, which involve the parameter values of data points in addition to the control points and weight factors, Structuring of the augmented set for reasonable dimensionality, Enhanced fitting by gradient-based minimization with respect to the augmented set, Evolutionary fitting by applying external functions.
The complex-shape engineering objects used as test cases clearly demonstrate the efficiency of the proposed methodology in producing high-quality single-patch NURBS representations of given point sets. The comparisons with the results in literature were conducted such that both standard fitting (literature) and our proposed enhanced best fitting were applied on the same selected engineering objects.
The examples in Figs 17 and 18 which represent engineering objects with complex 3D shapes demonstrate the superior performance of the developed methodology in terms of geometric error and especially representation quality in areas with intensive local change of shape. The significantly improved representation accuracy of the developed procedure justifies the increased numerical effort of non-linear fitting. Moreover, the procedure is dynamically adaptive and does not require ‘maintenance’ of the knot set layout as do T-splines for dynamically changing shapes. Parameters that could be used to additionally confirm the performance of the method can be based on the error norms for example as given in Figs 17 and 18, globally for the overall object or locally for critical zones.
Footnotes
Acknowledgments
This work was supported by the Croatian Science Foundation [grant number IP-2014-09-6130].
