Home Minimizing form errors in additive manufacturing with part build orientation: An optimization method for continuous solution spaces
Article Open Access

Minimizing form errors in additive manufacturing with part build orientation: An optimization method for continuous solution spaces

  • Torbjørn L. Leirmo EMAIL logo and Oleksandr Semeniuta
Published/Copyright: March 22, 2022
Become an author with De Gruyter Brill

Abstract

For additive manufacturing (AM) to be successfully implemented in manufacturing systems, the geometric accuracy of components must be controlled in terms of form, fit, and function. Because the accuracy of AM products is greatly affected by the part build orientation, this factor dictates the achievable tolerances and thereby the ability to incorporate AM technologies in a large-scale production. This article describes a novel optimization method for minimizing form errors based on the geometric features of the part. The described method enables the combination of separate expressions for each feature to create a continuous solution space. Consequently, the optimal part build orientation can be precisely determined based on a mathematical description of the effect of build direction on each surface type. The proposed method is demonstrated in two case studies by step-by-step descriptions including discussions on viability and possible extensions. The results indicate good performance and enable flexible prioritization and trade-offs between tolerance characteristics.

Abbreviations

AM

additive manufacturing

EA

evolutionary algorithm

FFF

fused filament fabrication

GA

genetic algorithm

PCS

part coordinate system

STL

STereoLithography file format

VE

volumetric error

WCS

world coordinate system

1 Introduction

Additive manufacturing (AM) holds the potential to revolutionize the manufacturing industry through topology-optimized lightweight structures and mass-customized designs. However, the full potential of the technology remains largely unexploited due to cost restrictions and quality issues. While AM is utilized in medical, aerospace, and automotive industries for small production volumes, this is only possible because every component is carefully engineered and validated through an iterative process before production is initiated. For mass customization to truly reach its potential in agile manufacturing, automated process planning for AM must be developed to ensure quality and consistency in the production.

While AM offers design freedom to create innovative free form surfaces previously unattainable by conventional manufacturing methods, traditional shape features will still be present in novel designs, such as the interfaces between components of an assembly. The interconnection between AM and conventional manufacturing technologies in manufacturing systems warrants the control of geometric accuracy in terms of traditional tolerancing features.

To enable consistent production of unique components while meeting quality requirements, it is necessary to develop valid models and methods for predicting, mitigating, and adapting to variation in the build process. One of the major determining factors for geometric accuracy in AM is the part build orientation, i.e., the direction in which the material is added to the substrate to realize the geometry [1]. This article describes a method for the precise determination of optimal part build orientation to minimize the deviations from nominal to the actual geometry by considering the geometric features of the part.

The accuracy of an additively manufactured surface partly depends on its curvature (or lack thereof). Therefore, the proposed method enables separate mathematical models to be applied to each surface type. These models are then populated with data from the CAD model and combined into a single expression of quality as a function of part build orientation. The result is a continuous objective function for the entire solution space, which enables the identification of optimal part build orientations or feasible regions for secondary objectives.

The remainder of this article is structured as follows: First, the theoretic foundations and previous work are outlined in Section 2 before the method is described in Section 3. In Section 4, two case studies are presented to demonstrate the method step by step before a brief discussion on the viability and possible extensions is presented in Section 5. Finally, Section 6 summarizes this article and provides directions for the future work.

2 Theoretic background

In general, AM techniques successively add layers of material to create an object [1]. This layered manner of fabrication is a decisive factor in how accuracy errors occur in the AM process. Dantan et al. [2] identified a range of defect modes in fused filament fabrication, many of which can be extended to other AM technologies. Defect modes relating to the direction of material deposition, as well as errors in the machine/tool movement, influence the accuracy of the produced surface regardless of technology and material. Apart from the various surface defects and inaccuracies present in most AM processes, the products also exhibit anisotropic mechanical properties where the behavior depends on the build direction [3]. Consequently, the part build orientation is a decisive factor in the final part quality in terms of both accuracy and mechanical properties.

The staircase effect is perhaps the most illustrative example of how part build orientation is vital in AM. The layered manufacturing approach inevitably leaves a characteristic pattern on inclined surfaces. This pattern emerges when the contours of two subsequent layers cannot align perfectly. The result is a stepped surface as displayed in Figure 1, commonly referred to as the staircase effect.

Figure 1 
               Illustration of the staircase effect and the cusp height introduced by layered manufacturing.
Figure 1

Illustration of the staircase effect and the cusp height introduced by layered manufacturing.

The staircase effect can be modeled in two dimensions as the cusp height h cusp , i.e., the shortest distance from the inner corner of a step, to the hypotenuse of the right triangle of Figure 1 [4]. The cusp height h cusp may be calculated from the layer thickness h layer and surface angle θ , which is the angle between the build direction z ˆ = [ 0 0 1 ] and the surface normal vector n as described by Alexander et al. [5]:

(1) h cusp = h layer cos θ , if cos θ 1 , 0 , if cos θ = 1 .

Another measure of the staircase effect is the volumetric error (VE) introduced by Masood et al. [6], which corresponds to the volumetric difference between the CAD model and the realized geometry. This solution soon becomes quite complex when extended from two to three dimensions. Figure 1 illustrates the deviations due to the staircase effect where the area below the dashed line is lost. The VE is the result of integrating this area along the perimeter of the layer. Complex surfaces drastically complicate the computation of VE, and simplifications are often necessary.

The obvious solution for mitigating the staircase effect is to make sure all surfaces are oriented either parallel or perpendicular to the build direction. However, when a part consists of several features in different directions (which is the case for most functional components), there will be no part build orientation in which all surfaces are either parallel or perpendicular to the build direction. Furthermore, curved surfaces do not benefit from perpendicular orientations as this will maximize the staircase effect. Therefore, a trade-off must be made to converge on a globally optimal solution, where the staircase effect is minimized. The orientation problem for accuracy is however composed of many more failure modes other than the staircase effect, all of which matters in modeling the final geometry.

While the part build orientation should be considered in the design stage, this is not always possible. Consequently, the information available when deciding the part build orientation may differ from full CAD model with tolerances, to the tessellated STereoLithography file format (STL) commonly used in the final stages of process planning for AM. Naturally, methods for dealing with the orientation problem with these varying knowledge levels have been proposed in the literature – some relying on computational methods and others on a human expert. In addition, some may focus on finding a minimal solution fast, while others may prefer to spend more time to find the optimal orientation. The many possible combinations of methods, objectives, and limitations have resulted in a plethora of approaches ranging from the general to the highly specific. However, the crux of the orientation problem remains to achieve the best possible result with the information at hand, within a reasonable time.

2.1 Related work

Part build orientation is a key factor in AM as it is easily manipulated and has a clear influence on final properties. The effect of part build orientation has been the subject of many research efforts but remains an open issue [7]. Methods for determining the optimal part build orientation can be largely divided into two groups: (i) those evaluating a set of candidate solutions with respect to an objective function and (ii) those mathematically describing the solution space to explore this continuous space for the optimal solution. A selection of the most relevant related methods is showcased in Table 1. The interested reader may refer to refs [7,8] for recent reviews on the orientation problem.

Table 1

Characteristics of related work in chronological order

Reference Candidate orientations Search method
Cheng et al. [9] Flat surfaces ES
Alexander et al. [5] Flat surfaces + user defined ES
Masood et al. [10] Discretized solution space ES
Byun and Lee [11] Faces of convex hull ES
Padhye and Deb [12] All EAs
Zhang and Li [13] Discretized unit sphere ES and EA
Li and Zhang [14] Discretized unit sphere EA
Das et al. [15] All GBM
Zhang et al. [16] Discretized unit sphere ES
Das et al. [17] All GBM
Budinoff and McMains [18] Discretized unit sphere ES
Chowdhury et al. [19] All GBM
Zhang et al. [20] Facet clusters ES
Qin et al. [21] Facet clusters ES

ES = exhaustive search, EA = evolutionary algorithm, GBM = gradient-based method.

The first group is the most common and starts by identifying candidate orientations. This process is either based on a set of rules (e.g., flat surfaces of the convex hull) or by discretization of the solution space, i.e., certain intervals of rotation about one or more predefined axes. In the next step, either an exhaustive search is performed where all candidates are considered or a guided search is conducted, e.g., by a genetic algorithm (GA). These discrete methods have certain advantages, but they inherently fail to consider the entire (continuous) solution space and therefore risk missing good orientations. In addition, any attempt to refine the search space by including more candidate orientations inevitably increases the computation time.

The second group, on the other hand, grants access to the entire solution space, where the complexity of this solution space generally correlates with the complexity of the geometry. This category is not as well explored, perhaps due to the simplicity of discrete solution spaces or the ability of discrete approaches to handle discontinuous functions. Nevertheless, a continuous solution space may facilitate more nuanced objective functions and complex solution spaces. Continuous solution spaces can be explored by evolutionary algorithms (EAs), or gradient-based methods where knowledge of the topology of the solution space is exploited in an iterative search for the global optimum.

The approach described herein constitutes a hybrid of the two methods outlined earlier: The solution space is described with a differentiable function, which is used to identify critical points. The critical points will then constitute the candidate orientations in the final evaluation, which identifies the global optimum. The novelty of this approach lies in the combination of simplicity from generalizing surface types, and the flexibility brought forward by the general framework that can be populated with any objective function.

Cheng et al. [9] considered all flat surfaces as candidates for determining the optimal part build orientation and evaluated every candidate orientation with respect to the accuracy, build time, and stability. A similar approach was proposed for the minimization of cost by Alexander et al. [5] who included the cost of postprocessing and build time in the cost calculations. Zhang et al. [16] generated a set of candidate orientations from every shape feature and evaluated them for several attributes including surface roughness and support volume. Similar methods have also been proposed with facet clustering, where groups of facets are considered collectively based on how they are affected by part build orientation [20,22,21]. All these methods benefit from the generalization of how different surfaces are affected by the build direction. While various methods are employed in these studies in the search for an optimal solution, none of them consider a continuous solution space generated from the geometry.

Zhang and Li [13] proposed a discretization of the solution space (i.e., a unit sphere), and let each facet of the STL file promote the two orientations parallel to the facet normal, as well as the great circle corresponding to the perpendicular of the normal vector. The authors describe methods to make the selection using an exhaustive search for minimizing VE, as well as a GA for combined optimization of VE and part height [13,14]. The authors argue for the use of GA over exhaustive search when the number of discretized points becomes large due to time concerns. Discretization allows for controlling the resolution of the solution space and therefore also the computational cost. However, the approach remains oblivious to any effects other than those of the predefined points in the solution space.

Das et al. [15,17] proposed a method for minimizing form errors and support structures by formulating a minimization problem to be solved in MATLAB with gradient-based optimization. The method is based on the one-dimensional tolerance maps of Paul and Anand [23,24] for cylindricity and Arni and Gupta [25] for flatness – both theoretically derived from the staircase effect. A similar approach was proposed by Chowdhury et al. [19] who continued to compensate the geometry for any expected deviations still present after optimization. However, both of these proposed methods involve a risk of convergence to local optima due to the gradient-based approach. The convergence to local optima is avoided in the study by Budinoff and McMains [18] who performs an exhaustive search of one-degree increments to identify feasible regions from which the final orientation may be selected.

The existing body of literature describes various approaches to the orientation problem with various benefits and drawbacks. Exploiting higher level information about local topology facilitates the generation of candidate orientations. This information can also be used to construct continuous solution spaces for achievable tolerances and other objectives. The method presented herein benefits from the generalization of part geometry to reduce the number of parameters in optimization, while also accessing the entire solution space for mathematical analysis.

2.2 Mathematical foundations

There is no shortage of mathematical formulations of the orientation problem in the academic literature. The plethora of formulations arises from the subtle differences in AM technologies, which have varying parameters with different effects. The number of formulations is further amplified by the deviating scope and objectives of previous works. For instance, the VE is a common measure of accuracy in AM. However, the calculation of VE is based on fundamental assumptions regarding the surface profile, typically assuming right-angled steps. However, the real surface will be filleted as various effects will round off the corners and hence throw off the theoretical models [26,27].

Nevertheless, the effect of part build orientation on surface accuracy is indisputable in the current AM systems, although of less concern when the layers are thinner [28]. Therefore, the modeling of quality as a function of part build orientation is warranted, and mathematical descriptions of orientations are necessary.

According to Euler’s rotation theorem, any orientation of a rigid body in R 3 can be described as a sequence of three basic rotations ( α , β , γ ) , where no two subsequent rotations are performed about the same axis. The basic rotations are performed about the x -, y -, and z -axis individually, and a rotation of θ degrees about the respective axes can be calculated using the 3 × 3 rotation matrices R x , R y , and R z where

(2) R x ( θ ) = 1 0 0 0 cos θ sin θ 0 sin θ cos θ ,

(3) R y ( θ ) = cos θ 0 sin θ 0 1 0 sin θ 0 cos θ ,

(4) R z ( θ ) = cos θ sin θ 0 sin θ cos θ 0 0 0 1 .

The rotation matrices of equations (2)–(4) will rotate any column vector about the respective axis by the angle θ . The direction of the rotation is determined by the right-hand rule, i.e., counterclockwise as seen from the positive end toward the origin. According to Euler, any orientation can be achieved by three successive rotations. However, because matrix multiplication is non-commutative, the sequence of rotations influences the final orientation of the body. Consequently, when three rotations are performed in succession following Euler’s rules, there are still 12 possible combinations divided into two distinct groups:

  1. Proper Euler angles where the first and last rotations are performed about the same axis; and

  2. Tait-Bryan angles where all three rotations are performed about unique axes.

In the current work, the notation for rotation sequence is simply the axes in the order of which the rotations are performed with a subscript further emphasizing the sequence. For instance, the most common rotation following a proper Euler angle sequence is Z 1 X 2 Z 3 , which means first rotation about the z -axis, second rotation about the (new) x -axis, and finally another rotation about the (now current) z -axis. Table 2 tabulates all 12 rotation sequences following this notation.

Table 2

Possible rotation sequences

Proper Euler angles Tait-Bryan angles
X 1 Y 2 X 3 X 1 Y 2 Z 3
X 1 Z 2 X 3 X 1 Z 2 Y 3
Y 1 X 2 Y 3 Y 1 X 2 Z 3
Y 1 Z 2 Y 3 Y 1 Z 2 X 3
Z 1 X 2 Z 3 Z 1 X 2 Y 3
Z 1 Y 2 Z 3 Z 1 Y 2 X 3

The range of rotations is limited to the unit circle as rotations of more than 2 π radians make little sense. Hence, the range of α and γ can be restricted to [ 0 , 2 π ) . Conversely, the range of β need not exceed π radians because larger rotations will only repeat previous spaces; hence, the range of β can be reduced to [ 0 , π ) . In consequence, the orientation problem in AM is bound to the finite space, where ( α , γ ) [ 0 , 2 π ) and β [ 0 , π ) .

3 Proposed method

The proposed optimization method is based on shape features to facilitate implementation in traditional tolerancing schemes. In this context, a shape feature is defined as either a geometric primitive, i.e., plane, cylinder, cone, sphere, or torus (Figure 2), or a free-form surface. These feature types are affected by the build direction in different ways and are also subject to different tolerance characteristics such as flatness, cylindricity, etc. Therefore, these features should be used in the construction of the objective function.

Figure 2 
               Shape features with position and orientation vectors. Spheres are not assigned an orientation due to three full degrees of freedom in rotation. (a) Plane with position and orientation vector. (b) Cylinder with position and orientation vector. (c) Cone with position and orientation vector. (d) Sphere with only position vector. (e) Torus with position and orientation vector.
Figure 2

Shape features with position and orientation vectors. Spheres are not assigned an orientation due to three full degrees of freedom in rotation. (a) Plane with position and orientation vector. (b) Cylinder with position and orientation vector. (c) Cone with position and orientation vector. (d) Sphere with only position vector. (e) Torus with position and orientation vector.

The current method requires information about the feature types and the relative orientation of the features. This information is readily available in many 3D-file formats such as STEP; however, when the geometry is converted into the popular intermediate STL format, the information about local topology is lost. For such tessellated file formats, the geometry may be deduced by feature recognition algorithms as described elsewhere [29,30,31].

Due to the ability to parameterize geometric primitives (e.g., height and diameter of a cylinder), these shape features may be generalized and are considered in the remainder of this article. The freeform surfaces on the other hand are more complex and therefore necessitate closer analysis and will be discussed only briefly. This prioritization is based on the assumption that surfaces that require tolerance are functional surfaces that predominantly are primitive in shape. The problem of freeform surfaces is left for future work.

Vectorial characterization of shape features enables the description of the relative location and orientation of shape features. Consider that each feature F is described by a location vector p and an orientation vector v with respect to a part coordinate system (PCS), where p , v R 3 . This is demonstrated in Figure 3, where the PCS is located at the bottom left of the design and the black arrow represents the location vector for the highlighted horizontal through hole. The location vector points to the center of the hole where a feature coordinate system signifies the orientation of the feature, i.e., with the z -axis of the cylinder parallel to the y -axis of the PCS.

Figure 3 
               Sample part 1 recreated from the study by Cheng et al. [9] with coordinate frames.
Figure 3

Sample part 1 recreated from the study by Cheng et al. [9] with coordinate frames.

When all features are described vectorially, the entire part P may be described as a set of all these features P = { F 1 , F 2 , , F n } . The geometry of Figure 3 is recreated from the study by Cheng et al. [9] and will be used as a sample part for a simple geometry in this article.

3.1 Mathematical description of part build orientation

Consider a part P = { F 1 , F 2 , , F n } . These features may be of different sizes and feature types, i.e., planes, cylinders, spheres, cones, and tori. The quality of each feature type can be modeled as a function of some parameters Q F = f ( x 1 , x 2 , , x n ) . If a consistent measure of quality is applied (e.g., surface roughness Ra), the mean quality of the entire part Q part may be calculated as follows:

(5) Q part = i = 1 n Q i A i A part ,

where n is the number of features, Q i and A i are the quality and area of the ith feature, respectively, and A part is the total surface area of the part.

While the area may be a suitable weight factor in many cases, it is also possible to introduce a separate weight factor that enables the prioritization of features. This weight factor can be applied on any level, e.g., certain feature types may be ignored, or individual features may attain a higher priority. Furthermore, the fundamental assumption is made that the quality of an additively manufactured surface can be described as a function of its orientation with respect to the build direction.

The orientation of a feature F with respect to the build direction z ˆ may be described as two Euler angles ( α , β ) necessary for the rotational transformation of z ˆ to v where v is the feature vector of F . In the current work, ( α , β ) represents rotations about the x - and y -axis respectively, both with reference to the original reference frame (i.e., Tait-Brian angles X 1 Y 2 Z 3 ).

The angle θ between two arbitrary vectors u and v is found by:

(6) θ = arccos u v u v .

By utilizing unit vectors, u v evaluates to 1 and reduces the expression to

(7) θ = arccos ( u v ) .

By inserting z ˆ = [ 0 0 1 ] for u , the aforementioned expression can be further reduced because

(8) 0 0 1 x y z = z .

In this context, z will be the z -component of the feature vector v , denoted v z . However, we want to express the angle θ as a function of the part’s orientation in 3D space to enable optimization of orientation. For this purpose, the orientation vector can be expressed in terms of Tait-Bryan angles ( Z 1 Y 2 X 3 ). These rotations are commonly referred to as yaw, pitch, and roll in engineering applications and describes the orientation of a rigid body with respect to the world coordinate system (WCS). The feature vector can then be derived from the rotation matrices in equations (2)–(4), and the sequential rotations about the x -, y -, and z -axis can then be performed in a single operation by multiplying the matrices as follows:

(9) R = R z R y R x = cos β cos γ sin α sin β cos γ sin γ cos α sin α sin γ + sin β cos α cos γ sin γ cos β sin α sin β sin γ + cos α cos γ sin α cos γ + sin β cos γ cos α sin β sin α cos β cos α cos β

This means that the orientation vector v of a feature may be expressed as follows:

(10) v = x cos β cos γ + y ( sin α sin β cos γ sin γ cos α ) + z ( sin α sin γ + sin β cos α cos γ ) x sin γ cos β + y ( sin α sin β sin γ + cos α cos γ ) + z ( sin α cos γ + sin β cos γ cos α ) x sin β + y sin α cos β + z cos α cos β ,

which means

(11) v z = x sin β + y sin α cos β + z cos α cos β .

When v z from equation (11) is inserted in equation (7), the final expression simply becomes

(12) θ = arccos ( x sin β + y sin α cos β + z cos α cos β ) .

To enable the mathematical description of the entire geometry in a single expression, the orientation of each feature is described relative to a common coordinate frame, i.e., the WCS. The geometry may be regarded as a rigid body, which means that the relation between the surfaces remains constant and any transformation acts on all surfaces equally. In consequence, the orientation of all surfaces may be collectively calculated from the same values of α , β , and γ using equation (10), where x , y , and z are the components of the feature’s initial orientation vector. Accordingly, equation (12) is valid for all surfaces with α and β as the only variables.

3.2 Finding the optimal part build orientation

Based on the aforementioned theory, it is possible to determine the optimal part build orientation mathematically by evaluating the critical points of the objective function. The critical points of a function f ( x , y ) are found, where

(13) f x = f y = 0 or undefined .

Typically, there will be several solutions to equation (13), and each solution needs to be evaluated separately. These solutions will represent points, edges, and perhaps even entire areas in the 2D solution space. Provided the formalization in the previous section, the part build orientation can be described as a set of two rotations α and β . If a function is based on these two rotations, α and β will replace x and y in equation (13) in the search for critical points. The solution space will be the surface of a unit sphere, where α [ 0 , 2 π ) and β [ 0 , π ) . A point on this surface will correspond to a single unique orientation, while a line will correspond to a range of orientations. Note that the entire unit sphere is accessible already with only half a rotation of β , and still, a full rotation of β is used in the visualizations of this article to make their analysis more intuitive.

The fundamental assumption remains that the quality of a surface can be modeled as a function of its orientation with respect to the build orientation and that this function is differentiable. A conditional function (such as the one in equation (1)) introduces certain challenges to this method. However, such discontinuities would represent edges and areas in the 2D solution space that could be added to the list of candidate orientations.

Each feature of the geometry will add a term to the objective function, and each term will typically add one or more candidate orientations to the list. The exact number of additional candidates depends on the mathematical model as higher order functions will yield more candidates. It is therefore beneficial to limit or minimize the number of terms to avoid excessive computations. A simple way to minimize the number of terms is to join similar terms, e.g., two features of the same type and orientation can be combined into a single term of the objective function. Other measures include a manual selection of significant features and automatic filtering of features based on type, size, etc.

As surfaces are affected differently by build direction, separate models for each feature type are necessary to enable proper evaluation. This is easily implemented by inserting the appropriate expression for F Quality into equation (5) for each feature.

4 Case study

Two case studies are presented to demonstrate the proposed method:

  1. A simple geometry to enable a step-by-step demonstration of the approach and all calculations.

  2. A slightly more complex geometry to illustrate the applicability to more complex parts.

Simple mathematical models of quality are constructed for the illustrative purpose of this study. The implementation of empirical models is left for future work as this would obscure the central elements of this article. Before the case studies are presented, the construction of these mathematical models is detailed to provide the necessary foundations for the subsequent illustrations.

4.1 Constructing the mathematical models

The following models are based on the orientation rules described by Frank and Fadel [32], stating that cylinders should be oriented with the axis parallel to the build direction, while planes can be oriented either parallel or perpendicular to the build direction. Up-facing and down-facing surfaces are treated equally in the examples to keep the objective functions simple. This can be naturally incorporated in the objective function to account for any additional effects, e.g., overcure, support structures, and so on.

The central assumption in the current work is that the accuracy of a feature can be modeled as a function of its angle to the build direction ( θ ), which in turn is a function of the part’s orientation as described in equation (12). Also, we are modeling deviations from nominal geometry, which can be considered a cost; hence, a low cost indicates a high fitness of a given orientation. However, the angle will not be sufficient to evaluate the fitness of a certain orientation. Consider, for instance, a cylinder oriented at a 4 5 angle from the build direction ( θ = 4 5 ). The same cylinder oriented at θ = 13 5 would yield the same result, but the angle θ is quite different. Clearly, the objective function should be more sophisticated to incorporate this behavior.

Because the angle θ always will be in the interval [ 0 , 18 0 ], the sine of the angle will provide three desirable properties of an objective function: (i) the result is always a number between 0 and 1, (ii) the function is minimized at vertical orientations and maximized at horizontal orientations, and (iii) the function is periodic and symmetric. This study employs this function as an expression for the quality of cylinders:

(14) Q cylinder ( θ ) = sin θ ,

where θ is the angle between the feature normal vector and the build direction. This can be formulated as a function of ( α , β ) by inserting equation (12) for θ . With this substitution for θ , equation (14) may be written as follows:

(15) Q cylinder ( α , β ) = 1 ( x sin β + y sin α cos β + z cos α cos β ) 2 .

Planes, on the other hand, require some additional configurations as we must consider both vertical and horizontal orientations as positive. To incorporate this new behavior, equation (14) is multiplied by cos 2 θ . This term ensures that planes are positively evaluated at both vertical and horizontal orientations. In addition, the function is more sensitive to minor changes when a plane is horizontal than when the plane is vertical. This fit well together with the VE being large when the plane is close to horizontal, while not being as prominent in close-to-vertical orientations.

Finally, the function is normalized to facilitate comparison with other feature types, and so on. The normalization is achieved by introducing a divisor equal to the maximum of the function. The maximum is easily obtained by derivation and reveals a normalization factor of 2.598 when rounded to three decimal points. This yields the following expression for the quality of planes:

(16) Q plane ( θ ) = 2.598 sin θ cos 2 θ ,

where θ is the angle between the feature normal vector and the build direction. As with equation (14), the expression for planes may also be rewritten as a function of ( α , β ) by inserting equation (12) for θ . The result may be formulated as follows:

(17) Q plane ( α , β ) = 2.598 1 ( x sin β + y sin α cos β + z cos α cos β ) 2 × ( x sin ( β ) + y sin ( α ) cos ( β ) + z cos ( α ) cos ( β ) ) 2 .

The solution spaces of equations (15) and (17) are illustrated in Figure 4, where a 3D graph and a contour plot are presented for each of the equations.

Figure 4 
                  Solution spaces for planes and cylinders 
                        
                           
                           
                              α
                              ,
                              β
                              ∈
                              
                                 [
                                 
                                    0
                                    ,
                                    2
                                    π
                                 
                                 ]
                              
                           
                           \alpha ,\beta \in \left[0,2\pi ]
                        
                      from equations (15) and (17), respectively. (a) 3D-graph for cylinders. (b) Contour for cylinders. (c) 3D graph for planes. (d) Contour for planes.
Figure 4

Solution spaces for planes and cylinders α , β [ 0 , 2 π ] from equations (15) and (17), respectively. (a) 3D-graph for cylinders. (b) Contour for cylinders. (c) 3D graph for planes. (d) Contour for planes.

4.2 Case 1: A simple geometry

The first case study is the simple geometry reconstructed from the study by Cheng et al. [9] and presented in Figure 3. This geometry provides a gentle introduction to the method by enabling a step-wise analysis of the geometry and the accuracy model. The first step of the method is to obtain a numeric description of the geometry in the appropriate format. Table 3 provides the positions and orientations of the features defined relative to the PCS as illustrated in Figure 3.

Table 3

Numeric description of part features for sample part 1

Position Orientation Area
# Type P x P y P z E x E y E z mm 2 %
1 Plane 4.55 0.00 1.80 0.00 −1.00 0.00 20 9.3
2 Plane 5.00 2.50 0.00 0.00 0.00 −1.00 50 22.8
3 Plane 3.41 2.50 5.00 0.00 0.00 1.00 16 7.3
4 Plane 4.55 5.00 1.80 0.00 1.00 0.00 20 9.3
5 Plane 0.91 2.50 2.50 −0.90 0.00 0.45 13 6.0
6 Plane 7.50 2.50 2.50 0.81 0.00 0.59 18 8.0
7 Cylinder 4.00 0.00 2.50 0.00 1.00 0.00 31 14.0
8 Cylinder 0.18 2.50 2.50 1.00 0.00 0.00 51 23.1

The data from Table 3 are inserted into equations (15) and (17) one row at a time as follows:

  1. The feature type determines which equation to use (equation (15) for cylinders or equation (17) for planes)

  2. The variables x , y , and z are substituted with E x , E y , and E z from Table 3

  3. The expression is multiplied with the relative surface area of the feature (final column of Table 3)

Following the progression mentioned earlier, we start with the first row from Table 3 and perform the following steps: (1) The feature is identified as a planar type, and we, therefore, use equation (17). (2) The values of E x , E y , and E z are inserted for x , y and z , respectively. For the first feature, this means that 0 is inserted for x and z , while 1 is inserted for y . (3) Finally, the weight factor is introduced by multiplying by the relative surface area as found in the final column of Table 3, namely, 0.093 (9.3%). These steps are displayed in the calculations of equation (18).

(18) Q F 1 ( α , β ) = 2.598 A 1 ( x sin β + y sin α cos β + z cos α cos β ) 2 × ( x sin ( β ) + y sin ( α ) cos ( β ) + z cos ( α ) cos ( β ) ) 2 = 2.598 A 1 ( 0 sin β + 1 sin α cos β + 0 cos α cos β ) 2 × ( 0 sin ( β ) + 1 sin ( α ) cos ( β ) + 0 cos ( α ) cos ( β ) ) 2 = 2.598 × 0.093 1 sin 2 ( α ) cos 2 ( β ) sin 2 ( α ) cos 2 ( β ) = 0.24 1 sin 2 ( α ) cos 2 ( β ) sin 2 ( α ) cos 2 ( β ) .

When all the data from Table 3 are inserted into equations (15) and (17), all the equations may be collected in a single expression for the entire geometry as follows:

(19) P Quality ( α , β ) = 0.23 1 sin 2 ( β ) + 0.14 1 sin 2 ( α ) cos 2 ( β ) + 0.48 1 sin 2 ( α ) cos 2 ( β ) sin 2 ( α ) cos 2 ( β ) + 0.78 1 cos 2 ( α ) cos 2 ( β ) cos 2 ( α ) cos 2 ( β ) + 0.10 1 0.5 ( sin ( β ) + cos ( α ) cos ( β ) ) 2 × ( sin ( β ) + cos ( α ) cos ( β ) ) 2 + 0.14 1 0.88 ( sin ( β ) + 0.36 cos ( α ) cos ( β ) ) 2 × ( sin ( β ) + 0.36 cos ( α ) cos ( β ) ) 2 .

This yields the solution space illustrated in Figure 5. The solution space reflects the symmetry and regularity of the geometry as the orientations where feature vectors align with the build direction are clear.

Figure 5 
                  Solution space for case 1 based on equation (19). (a) 3D-graph for case 1. (b) Contour for case 1.
Figure 5

Solution space for case 1 based on equation (19). (a) 3D-graph for case 1. (b) Contour for case 1.

In the next step, the partial derivatives are calculated and evaluated according to equation (13). Figure 6 shows the graphs of the partial derivatives where the dashed lines of Figure 6(a) and (b) correspond to the contour lines where the derivative evaluates to zero or are undefined.

Figure 6 
                  Graphs displaying the partial derivatives of equation (19). (a) Contour for 
                        
                           
                           
                              
                                 
                                    ∂
                                 
                                 
                                    ∂
                                    α
                                 
                              
                           
                           \frac{\partial }{\partial \alpha }
                        
                     . (b) Contour for 
                        
                           
                           
                              
                                 
                                    ∂
                                 
                                 
                                    ∂
                                    β
                                 
                              
                           
                           \frac{\partial }{\partial \beta }
                        
                     .
Figure 6

Graphs displaying the partial derivatives of equation (19). (a) Contour for α . (b) Contour for β .

The critical points are found where both derivatives either evaluate to zero or are undefined. This can be displayed graphically by plotting the dashed lines of Figure 6(a) and (b) in a single figure as shown in Figure 7. Finally, individual evaluation of these points and edges must be conducted to identify the global optimum as tabulated in Table 4.

Figure 7 
                  Contour lines for the partial derivatives of equation (19).
Figure 7

Contour lines for the partial derivatives of equation (19).

Table 4

Evaluation of critical points for case 1

0 α < 4 5 4 5 α < 18 0 18 0 α < 22 5 22 5 α < 36 0
Orientation Cost Orientation Cost Orientation Cost Orientation Cost
(0, 0) 0.46 (87, 40) 0.53 (180, 0) 0.46 (267, 140) 0.53
(0, 28) 0.71 (87, 220) 0.53 (180, 28) 0.69 (267, 320) 0.53
(0, 90) 0.26 (90, 0) 0.23 (180, 90) 0.26 (270, 0) 0.23
(0, 152) 0.69 (90, 90) 0.26 (180, 152) 0.71 (270, 90) 0.26
(0, 180) 0.46 (90, 180) 0.23 (180, 180) 0.46 (270, 180) 0.23
(0, 208) 0.71 (90, 270) 0.26 (180, 208) 0.69 (270, 270) 0.26
(0, 270) 0.26 (93, 140) 0.53 (180, 270) 0.26 (273, 40) 0.53
(0, 332) 0.69 (93, 320) 0.53 (180, 332) 0.71 (273, 220 0.53
(38, 176) 0.85 (142, 4) 0.85 (218, 4) 0.85 (322, 176) 0.85
(38, 356) 0.85 (142, 184) 0.85 (218, 184) 0.85 (322, 356) 0.85

Lower value indicates higher accuracy. Lowest value in bold.

The evaluation of α , β [ 0 , 2 π ) reveals four solutions with equal cost. However, these four solutions are pairwise identical, i.e., ( 27 0 , 18 0 ) is the same as ( 9 0 , 0 ), and ( 9 0 , 18 0 ) is the same as ( 27 0 , 0 ). Moreover, these two unique orientations are polar opposites, corresponding to the object lying on its left or right side as exemplified in Figure 8(a). This evaluation of the optimal orientation is also consistent with previous assessments of the same geometry [9,11,16].

Figure 8 
                  Optimal orientations identified for case 1. (a) Identified optimum (
                        
                           
                           
                              9
                              
                                 
                                    0
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                              ,
                              
                                 
                                    0
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                           
                           9{0}^{\circ },{0}^{\circ }
                        
                     ). (b) Second-best orientation (
                        
                           
                           
                              
                                 
                                    0
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                              ,
                              9
                              
                                 
                                    0
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                           
                           {0}^{\circ },9{0}^{\circ }
                        
                     ).
Figure 8

Optimal orientations identified for case 1. (a) Identified optimum ( 9 0 , 0 ). (b) Second-best orientation ( 0 , 9 0 ).

Another orientation achieving a low cost is the upright position which is achieved for any value of α when β is 9 0 or 27 0 . This constitutes two edges in the solution space with identical solutions. These orientations correspond to the front or the back facing upwards, which aligns the largest cylinder with the build direction as displayed in Figure 8(b). Note that the up-facing and down-facing surfaces are not differentiated by the objective function. Incorporating this behavior would yield different results where repetition of the solution space is avoided.

4.3 Case 2: Example with more complex geometry

The second case is an original design created for the sole purpose of demonstrating the applicability of the proposed method on a slightly more complex geometry. The part displayed in Figure 9 is a joint with connectors in various directions. Forty-four features may be identified where 15 are cylindrical, and the remaining 29 are planes. A numeric description of the geometry is presented in Table 5.

Figure 9 
                  The joint designed for case 2.
Figure 9

The joint designed for case 2.

Table 5

Numeric description of features for sample part 2

Position Orientation Area
# Type P x P y P z E x E y E z mm 2 %
1 Plane 32.14 0.00 64.83 0.89 0.00 0.45 6,176 6.26
2 Plane −32.14 0.00 64.83 0.89 0.00 0.45 6,176 6.26
3 Plane 0.00 0.00 25.00 0.00 0.00 1.00 3,697 3.75
4 Plane 0.00 84.64 25.00 0.00 1.00 0.00 2,900 2.94
5 Plane 0.00 84.64 25.00 0.00 1.00 0.00 2,900 2.94
6 Plane 15.56 0.00 17.22 0.89 0.00 0.45 2,324 2.35
7 Plane −15.56 0.00 17.22 0.89 0.00 0.45 2,324 2.35
8 Plane 0.00 34.64 2.41 0.00 1.00 0.00 1,800 1.82
9 Plane 0.00 34.64 2.41 0.00 1.00 0.00 1,800 1.82
10 Plane 34.64 62.85 24.18 1.00 0.00 0.00 1,735 1.76
11 Plane 34.64 62.85 24.18 1.00 0.00 0.00 1,735 1.76
12 Plane −34.64 62.85 24.18 1.00 0.00 0.00 1,735 1.76
13 Plane −34.64 62.85 24.18 1.00 0.00 0.00 1,735 1.76
14 Plane 18.32 64.93 4.43 0.50 0.00 0.87 1,560 1.58
15 Plane 18.32 64.93 4.43 0.50 0.00 0.87 1,560 1.58
16 Plane −18.32 64.93 4.43 0.50 0.00 0.87 1,560 1.58
17 Plane −18.32 64.93 4.43 0.50 0.00 0.87 1,560 1.58
18 Plane 17.43 66.74 54.94 0.50 0.00 0.87 1,430 1.45
19 Plane 17.43 66.74 54.94 0.50 0.00 0.87 1,430 1.45
20 Plane −17.43 66.74 54.94 0.50 0.00 0.87 1,430 1.45
21 Plane −17.43 66.74 54.94 0.50 0.00 0.87 1,430 1.45
22 Plane 29.52 18.15 7.38 0.87 0.50 0.00 1,400 1.42
23 Plane 29.52 18.15 7.38 0.87 0.50 0.00 1,400 1.42
24 Plane −29.52 18.15 7.38 0.87 0.50 0.00 1,400 1.42
25 Plane −29.52 18.15 7.38 0.87 0.50 0.00 1,400 1.42
26 Plane 14.47 24.49 28.94 0.89 0.00 0.45 314 0.32
27 Plane 14.47 −24.49 28.94 0.89 0.00 0.45 314 0.32
28 Plane −14.47 24.49 28.94 0.89 0.00 0.45 314 0.32
29 Plane −14.47 −24.49 28.94 0.89 0.00 0.45 314 0.32
30 Cylinder 0.00 0.00 7.68 0.00 0.00 1.00 7,590 7.69
31 Cylinder 0.00 0.00 25.00 0.89 0.00 0.45 6,804 6.89
32 Cylinder 0.00 0.00 25.00 0.89 0.00 0.45 6,804 6.89
33 Cylinder 0.00 50.00 25.00 0.00 1.00 0.00 4,518 4.58
34 Cylinder 0.00 −50.00 25.00 0.00 1.00 0.00 4,518 4.58
35 Cylinder 14.47 24.49 28.94 0.89 0.00 0.45 2,513 2.55
36 Cylinder 14.47 −24.49 28.94 0.89 0.00 0.45 2,513 2.55
37 Cylinder −14.47 24.49 28.94 0.89 0.00 0.45 2,513 2.55
38 Cylinder −14.47 −24.49 28.94 0.89 0.00 0.45 2,513 2.55
39 Cylinder 0.00 0.00 25.00 0.00 0.00 1.00 449 0.45
40 Cylinder 0.00 0.00 25.00 0.00 0.00 1.00 449 0.45
41 Cylinder 0.00 0.00 25.00 0.89 0.00 0.45 411 0.42
42 Cylinder 0.00 0.00 25.00 0.89 0.00 0.45 411 0.42
43 Cylinder 0.00 0.00 25.00 0.89 0.00 0.45 411 0.42
44 Cylinder 0.00 0.00 25.00 0.89 0.00 0.45 411 0.42

Using the functions for planes and cylinders from equations (15) and (17) populated with the data of Table 5, the solution space of Figure 10 is obtained. Because many features share orientation vectors, the overall objective function can be simplified to contain a minimal number of terms.

(20) P Quality ( α , β ) = 0.18 cos 2 ( β ) sin 2 ( β ) + 0.09 1 cos 2 ( α ) cos 2 ( β ) + 0.09 1 sin 2 ( α ) cos 2 ( β ) + 0.25 1 sin 2 ( α ) cos 2 ( β ) sin 2 ( α ) cos 2 ( β ) + 0.10 1 cos 2 ( α ) cos 2 ( β ) cos 2 ( α ) cos 2 ( β ) + 0.13 1 0.8 ( sin ( β ) 0.5 cos ( α ) cos ( β ) ) 2 + 0.12 1 0.8 ( sin ( β ) + 0.5 cos ( α ) cos ( β ) ) 2 + 0.14 1 0.8 ( sin ( β ) 0.5 cos ( α ) cos ( β ) ) 2 ( sin ( β ) 0.5 cos ( α ) cos ( β ) ) 2 + 0.05 1 0.8 ( sin ( β ) + 0.5 cos ( α ) cos ( β ) ) 2 ( sin ( β ) + 0.5 cos ( α ) cos ( β ) ) 2 + 0.14 1 0.8 ( sin ( β ) + 0.5 cos ( α ) cos ( β ) ) 2 ( sin ( β ) + 0.5 cos ( α ) cos ( β ) ) 2 + 0.03 1 0.75 ( 0.58 sin ( α ) cos ( β ) sin ( β ) ) 2 ( 0.58 sin ( α ) cos ( β ) sin ( β ) ) 2 + 0.06 1 0.75 ( 0.58 sin ( α ) cos ( β ) + sin ( β ) ) 2 ( 0.58 sin ( α ) cos ( β ) + sin ( β ) ) 2 + 0.05 1 0.8 ( sin ( β ) + 0.5 cos ( α ) cos ( β ) ) 2 ( sin ( β ) 0.5 cos ( α ) cos ( β ) ) 2 + 0.06 1 0.75 ( 0.58 sin ( β ) cos ( α ) cos ( β ) ) 2 ( 0.58 sin ( β ) cos ( α ) cos ( β ) ) 2 + 0.12 1 0.75 ( 0.58 sin ( β ) + cos ( α ) cos ( β ) ) 2 ( 0.58 sin ( β ) + cos ( α ) cos ( β ) ) 2 + 0.03 1 0.75 ( 0.58 sin ( α ) cos ( β ) + sin ( β ) ) 2 ( 0.58 sin ( α ) cos ( β ) sin ( β ) ) 2 + 0.06 1 0.75 ( 0.58 sin ( β ) + cos ( α ) cos ( β ) ) 2 ( 0.58 sin ( β ) cos ( α ) cos ( β ) ) 2

Figure 10 
                  Solution space for case 2 based on equation (20). (a) 3D graph for case 2. (b) Contour for case 2.
Figure 10

Solution space for case 2 based on equation (20). (a) 3D graph for case 2. (b) Contour for case 2.

The solution space for the second case is also quite regular as demonstrated in Figure 11 where the partial derivatives of equation (20) are displayed. The regularity of these plots reflects the redundancy in the domain α , β [ 0 , 2 π ] .

Figure 11 
                  Graphs displaying the partial derivatives of equation (20). (a) Contour for 
                        
                           
                           
                              
                                 
                                    ∂
                                 
                                 
                                    ∂
                                    α
                                 
                              
                           
                           \frac{\partial }{\partial \alpha }
                        
                     . (b) Contour for 
                        
                           
                           
                              
                                 
                                    ∂
                                 
                                 
                                    ∂
                                    β
                                 
                              
                           
                           \frac{\partial }{\partial \beta }
                        
                     .
Figure 11

Graphs displaying the partial derivatives of equation (20). (a) Contour for α . (b) Contour for β .

As demonstrated in case 1, the critical points are found where both partial derivatives are either zero or undefined, which corresponds to the intersections of red and black lines in Figure 12. All critical points are tabulated in Table 6 where the minima are highlighted in bold text.

Figure 12 
                  Contour lines for the partial derivatives of equation (20).
Figure 12

Contour lines for the partial derivatives of equation (20).

Table 6

Evaluation of critical points for case 2

α = 0 0 < α < 18 0 α = 18 0 18 0 < α < 36 0
Orientation Cost Orientation Cost Orientation Cost Orientation Cost
(0, 0) 0.53 (40, 0) 0.65 (180, 0) 0.53 (220, 0) 0.65
(0, 23) 0.57 (40, 180) 0.65 (180, 23) 0.57 (220, 180) 0.65
(0, 45) 0.60 (72, 50) 0.72 (180, 45) 0.60 (252, 50) 0.72
(0, 63) 0.54 (72, 130) 0.72 (180, 63) 0.54 (252, 130) 0.72
(0, 81) 0.60 (72, 230) 0.72 (180, 81) 0.60 (252, 230) 0.72
(0, 90) 0.59 (72, 310) 0.72 (180, 90) 0.59 (252, 310) 0.72
(0, 99) 0.60 (90, 0) 0.37 (180, 99) 0.60 (270, 0) 0.37
(0, 117) 0.54 (90, 50) 0.72 (180, 117) 0.54 (270, 50) 0.72
(0, 135) 0.60 (90, 90) 0.59 (180, 135) 0.60 (270, 90) 0.59
(0, 157) 0.57 (90, 130) 0.72 (180, 157) 0.57 (270, 130) 0.72
(0, 180) 0.53 (90, 180) 0.37 (180, 180) 0.53 (270, 180) 0.37
(0, 203) 0.57 (90, 230) 0.72 (180, 203) 0.57 (270, 230) 0.72
(0, 225) 0.60 (90, 270) 0.59 (180, 225) 0.60 (270, 270) 0.59
(0, 243) 0.54 (90, 310) 0.72 (180, 243) 0.54 (270, 310) 0.72
(0, 261) 0.60 (108, 50) 0.72 (180, 261) 0.60 (288, 50) 0.72
(0, 270) 0.59 (108, 130) 0.72 (180, 270) 0.59 (288, 130) 0.72
(0, 279) 0.60 (108, 230) 0.72 (180, 279) 0.60 (288, 230) 0.72
(0, 297) 0.54 (108, 310) 0.72 (180, 297) 0.54 (288, 310) 0.72
(0, 315) 0.60 (140, 0) 0.65 (180, 315) 0.60 (320, 0) 0.65
(0, 337) 0.57 (140, 180) 0.65 (180, 337) 0.57 (320, 180) 0.65

Lower value indicates higher accuracy. Lowest values highlighted in bold.

For the second case study, the optimal orientation is achieved by 9 0 rotation about the x -axis as displayed in Figure 13(a). The same cost is also observed for three other combinations of rotations as displayed in Table 6. Due to redundancy in the solution space, these four combinations of rotations only correspond to two unique orientations in exactly opposite directions. With the hexagonal protrusions oriented parallel to the build direction, 25 out of the 29 planes are in a favorable orientation, while only two of the 15 cylinders are vertical.

Figure 13 
                  Optimal orientations identified for case 2. (a) Identified optimum (
                        
                           
                           
                              9
                              
                                 
                                    0
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                              ,
                              
                                 
                                    0
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                           
                           9{0}^{\circ },{0}^{\circ }
                        
                     ). (b) Alternative orientation (
                        
                           
                           
                              
                                 
                                    0
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                              ,
                              6
                              
                                 
                                    3
                                 
                                 
                                    
                                       ∘
                                    
                                 
                              
                           
                           {0}^{\circ },6{3}^{\circ }
                        
                     ).
Figure 13

Optimal orientations identified for case 2. (a) Identified optimum ( 9 0 , 0 ). (b) Alternative orientation ( 0 , 6 3 ).

Clearly, the large number of planes favors the orientation at ( 9 0 , 0 ). However, if cylinders are given a higher priority than planes, this orientation may no longer be as favorable. Figure 14 compares the effect of assigning a weight factor to cylindrical features for three orientations. A point of intersection is identified at a weight factor of 3.4, where the orientation ( 0 , 6 3 ) becomes more favorable than the previous best at ( 9 0 , 0 ) (see Figure 13(b)). This analysis indicates that for this part, cylinders should be at least 3.4 times as important relative to planes before the orientation at ( 0 , 6 3 ) is selected.

Figure 14 
                  Comparison of three orientations for case part 2 when an additional weight factor is introduced for cylinders.
Figure 14

Comparison of three orientations for case part 2 when an additional weight factor is introduced for cylinders.

Both case studies exhibit repetitive symmetric patterns in the evaluation table. This symmetry arises from two sources: (i) as stated in Section 2.2, the domain of β can be constrained to [ 0 , π ) as rotations exceeding this range will only repeat previous solutions, and (ii) the objective function of these case studies takes no regard of the difference between up-facing and down-facing surfaces. One may also question the alignment of many critical points with right-angle orientations. This is, however, a result of the initial orientation of the part, which originates from the design phase. If the initial orientation was different, the patterns observed in the plots would change due to the projection, but the solution space would remain unaltered.

A more complex geometry with more features would yield a solution space with more local extremes where the complexity of the solution space reflects the complexity of the geometry. Naturally, the objective functions for each surface type also contribute toward the topology of the solution space. Consequently, different objective functions, e.g., those obtained through experiments, would give different results to those reported earlier.

5 Discussion

A mathematical description of the solution space provides a range of possibilities for finding the optimal orientation. What approach is best suited to solve the optimization problem depends on the purpose of the optimization as well as the complexity of the part. As the geometry becomes more complex, function evaluations are increasingly expensive. Hence, complex geometries may benefit from intelligent methods where an effort is made to accelerate the computations. The simplicity of an exhaustive search may have certain advantages for simple geometries but may be ineffective for complex geometries.

The continuous solution space facilitates gradient-based methods as a qualified decision can be made concerning the next iteration of the search sequence. However, unless all critical points are investigated, the risk of getting stuck in local optima is ever present. A stochastic component or a larger population of solutions may counter this problem, as is typically the case of EAs.

When the solution space is clearly defined, it is possible to identify feasible regions in line with previous works [25,18]. These regions are defined from requirements and represent ranges of feasible orientations where tolerance requirements are met. Consequently, these regions can make up the boundaries for subsequent optimizations, e.g., with respect to mechanical properties. Adding steps to the optimization process will inevitably complicate and prolong the process, but interactive methods may be useful when the objectives are fuzzy or when flexibility is required.

Practical implementations of the proposed method would entail the formulation of objective functions for all relevant surface types. The relevant types and their definition may differ as long as they can be formulated as orientation vectors with accompanying objective functions. Furthermore, a solution for obtaining information on the orientation of the surfaces is required to automate the optimization process. An alternative implementation enables the identification of feasible regions for subsequent optimization. This would imply the integration of the method in a larger system with capabilities beyond what can be expressed by surfaces and their orientations.

The proposed optimization method has the benefit of being stable (i.e., no stochastic components), has no limitations with regards to search grid resolution, and provides the flexibility to incorporate separate expressions for each feature. Moreover, by considering the features of the part rather than every facet of a tessellated file, the effect of build direction may be generalized for each surface type. This drastically reduces the number of function evaluations. The feature-based approach also enables feature dimensions to be included in the objective function, which may affect the outcome.

The proposed method is not applicable to freeform surfaces due to the inability to formulate proper objective functions to handle the unknown. At present, this is not an issue for assembly features. However, as the potential of AM is unlocked, more complex surfaces may become widely used in the industrial design. The development of flexible formulations to handle this challenge is left for future work, along with the appropriate parametrization of such surfaces.

6 Conclusions and outlook

The approach described in this article provides the mathematical foundations for both deterministic and stochastic solutions to the orientation problem. By describing the solution space as a continuous function in a closed domain, the optimization can be performed mathematically. More importantly, this approach enables the determination of feasible orientation zones for the optimization of secondary objectives. Under the assumption that quality can be described as a function of build direction, the proposed method can be populated with any mathematical description of the relationship between quality and part build orientation.

The development of accurate mathematical models is crucial for optimization in process planning. AM technologies comprise many different processes that require separate models for predicting final part properties. Future research entails developing and validating prediction models that can be utilized in optimization processes. Practical implementation in a system with capabilities beyond the described method constitutes an interesting avenue for future research. Furthermore, the integration of all processing stages into a digital pipeline – from design and process planning to quality assessment and verification – will enable traceability throughout the manufacturing system and ultimately the entire product life cycle.

Acknowledgements

The authors appreciate the support from colleagues at the Department of Manufacturing and Civil Engineering.

  1. Funding information: This research is funded by the Norwegian Ministry of Research and Education through the PhD-grant of Torbjørn Langedahl Leirmo.

  2. Author contributions: TLL conceptualized the presented method with technical and theoretical support from OS. OS reviewed and edited the original draft put forward by TLL.

  3. Conflict of interest: The authors declare no competing interests.

References

[1] Gibson I, Rosen D, Stucker B, Khorasani M. Additive Manufacturing Technologies. 3rd edn. Cham: Springer Nature Switzerland AG; 2021.10.1007/978-3-030-56127-7Search in Google Scholar

[2] Dantan JY, Huang Z, Goka E, Homri L, Etienne A, Bonnet N, et al. Geometrical variations management for additive manufactured product. CIRP Annals. 2017;66(1):161–4.10.1016/j.cirp.2017.04.034Search in Google Scholar

[3] Thompson MK, Moroni G, Vaneker T, Fadel G, Campbell RI, Gibson I, et al. Design for additive manufacturing: trends, opportunities, considerations, and constraints. CIRP Annals. 2016;65(2):737–60.10.1016/j.cirp.2016.05.004Search in Google Scholar

[4] Dolenc A, Mäkelä I. Slicing procedures for layered manufacturing techniques. Computer-Aided Design. 1994;26(2):119–26.10.1016/0010-4485(94)90032-9Search in Google Scholar

[5] Alexander P, Allen S, Dutta D. Part orientation and build cost determination in layered manufacturing. Computer-Aided Design. 1998;30(5):343–56.10.1016/S0010-4485(97)00083-3Search in Google Scholar

[6] Masood SH, Rattanawong W, Iovenitti P. Part build orientations based on volumetric error in fused deposition modelling. Int J Adv Manufact Technol. 2000;16(3):162–8.10.1007/s001700050022Search in Google Scholar

[7] DiAngelo L, DiStefano P, Guardiani E. Search for the optimal build direction in additive manufacturing technologies: a review. J Manufact Mater Process. 2020;4(3):71.10.3390/jmmp4030071Search in Google Scholar

[8] Qin Y, Qi Q, Shi P, Scott PJ, Jiang X. Status, issues, and future of computer-aided part orientation for additive manufacturing. Int J Adv Manufact Technol. 2021;115(5):1295–328.10.1007/s00170-021-06996-6Search in Google Scholar

[9] Cheng W, Fuh JYH, Nee AYC, Wong YS, Loh HT, Miyazawa T. Multi-objective optimization of part-building orientation in stereolithography. Rapid Prototyping J. 1995;1(4):12–23.10.1108/13552549510104429Search in Google Scholar

[10] Masood SH, Rattanawong W, Iovenitti P. A generic algorithm for a best part orientation system for complex parts in rapid prototyping. J Mater Process Technol. 2003;139(1):110–6.10.1016/S0924-0136(03)00190-0Search in Google Scholar

[11] Byun HS, Lee KH. Determination of the optimal build direction for different rapid prototyping processes using multi-criterion decision making. Robotics Comput-Integrat Manufact. 2006;22(1):69–80.10.1016/j.rcim.2005.03.001Search in Google Scholar

[12] Padhye N, Deb K. Multi-objective optimisation and multi-criteria decision making in SLS using evolutionary approaches. Rapid Prototyping J. 2011;17(6):458–78.10.1108/13552541111184198Search in Google Scholar

[13] Zhang J, Li Y. A unit sphere discretization and search approach to optimize building direction with minimized volumetric error for rapid prototyping. Int J Adv Manufact Technol. 2013;67(1):733–43.10.1007/s00170-012-4518-0Search in Google Scholar

[14] Li Y, Zhang J. Multi-criteria GA-based Pareto optimization of building direction for rapid prototyping. Int J Adv Manufact Technol. 2013;69(5):1819–31.10.1007/s00170-013-5147-ySearch in Google Scholar

[15] Das P, Chandran R, Samant R, Anand S. Optimum part build orientation in additive manufacturing for minimizing part errors and support structures. Procedia Manufact. 2015;1:343–54.10.1016/j.promfg.2015.09.041Search in Google Scholar

[16] Zhang Y, Bernard A, Gupta RK, Harik R. Feature based building orientation optimization for additive manufacturing. Rapid Prototyping J. 2016;22(2):358–76.10.1108/RPJ-03-2014-0037Search in Google Scholar

[17] Das P, Mhapsekar K, Chowdhury S, Samant R, Anand S. Selection of build orientation for optimal support structures and minimum part errors in additive manufacturing. Comput-Aided Design Appl. 2017;14(1):1–3.10.1080/16864360.2017.1308074Search in Google Scholar

[18] Budinoff H, McMains S. Prediction and visualization of achievable orientation tolerances for additive manufacturing. Procedia CIRP. 2018;75:81–6.10.1016/j.procir.2018.03.315Search in Google Scholar

[19] Chowdhury S, Mhapsekar K, Anand S. Part build orientation optimization and neural network-based geometry compensation for additive manufacturing process. J Manufact Sci Eng. 2018;140(3):031009.10.1115/1.4038293Search in Google Scholar

[20] Zhang Y, Harik R, Fadel G, Bernard A. A statistical method for build orientation determination in additive manufacturing. Rapid Prototyping J. 2019;25(1):187–207.10.1108/RPJ-04-2018-0102Search in Google Scholar

[21] Qin Y, Qi Q, Shi P, Scott PJ, Jiang X. Automatic determination of part build orientation for laser powder bed fusion. Virtual Phys Prototyping. 2021;16(1):29–49.10.1080/17452759.2020.1832793Search in Google Scholar

[22] Qin Y, Qi Q, Shi P, Scott PJ, Jiang X. Automatic generation of alternative build orientations for laser powder bed fusion based on facet clustering. Virtual Phys Prototyping. 2020;15(3):307–24.10.1080/17452759.2020.1756086Search in Google Scholar

[23] Paul R, Anand S. Optimal part orientation in rapid manufacturing process for achieving geometric tolerances. J Manufact Sys. 2011;30(4):214–22.10.1016/j.jmsy.2011.07.010Search in Google Scholar

[24] Paul R, Anand S. Optimization of layered manufacturing process for reducing form errors with minimal support structures. J Manufact Sys. 2015;36:231–43.10.1016/j.jmsy.2014.06.014Search in Google Scholar

[25] Arni R, Gupta SK. Manufacturability analysis of flatness tolerances in solid freeform fabrication. J Mech Design. 2001;123(1):148–56.10.1115/1.1326439Search in Google Scholar

[26] Byun HS, Lee KH. Determination of optimal build direction in rapid prototyping with variable slicing. Int J Adv Manufact Technol. 2006;28(3):307–13.10.1007/s00170-004-2355-5Search in Google Scholar

[27] Bacchewar PB, Singhal SK, Pandey PM. Statistical modelling and optimization of surface roughness in the selective laser sintering process. Proc Instit Mech Eng B J Eng Manufact. 2007;221(1):35–52.10.1243/09544054JEM670Search in Google Scholar

[28] Chen Y, Lu J. RP part surface quality versus build orientation: when the layers are getting thinner. Int J Adv Manufact Technol. 2013;67(1):377–85.10.1007/s00170-012-4491-7Search in Google Scholar

[29] Sunil VB, Pande SS. Automatic recognition of features from freeform surface CAD models. Comput-Aided Design. 2008;40(4):502–17.10.1016/j.cad.2008.01.006Search in Google Scholar

[30] Moroni G, Syam WP, Petrò S. Towards early estimation of part accuracy in additive manufacturing. Procedia CIRP. 2014;21:300–5.10.1016/j.procir.2014.03.194Search in Google Scholar

[31] Leirmo TL, Semeniuta O, Baturynska I, Martinsen K. Extracting shape features from a surface mesh using geometric reasoning. Procedia CIRP. 2020;93:544–9.10.1016/j.procir.2020.02.142Search in Google Scholar

[32] Frank D, Fadel G. Expert system-based selection of the preferred direction of build for rapid prototyping processes. J Intell Manufact. 1995;6(5):339–45.10.1007/BF00124677Search in Google Scholar

Received: 2021-08-27
Revised: 2021-10-20
Accepted: 2022-01-04
Published Online: 2022-03-22

© 2022 Torbjørn L. Leirmo and Oleksandr Semeniuta, published by De Gruyter

This work is licensed under the Creative Commons Attribution 4.0 International License.

Articles in the same Issue

  1. Regular Articles
  2. Performance of a horizontal well in a bounded anisotropic reservoir: Part I: Mathematical analysis
  3. Key competences for Transport 4.0 – Educators’ and Practitioners’ opinions
  4. COVID-19 lockdown impact on CERN seismic station ambient noise levels
  5. Constraint evaluation and effects on selected fracture parameters for single-edge notched beam under four-point bending
  6. Minimizing form errors in additive manufacturing with part build orientation: An optimization method for continuous solution spaces
  7. The method of selecting adaptive devices for the needs of drivers with disabilities
  8. Control logic algorithm to create gaps for mixed traffic: A comprehensive evaluation
  9. Numerical prediction of cavitation phenomena on marine vessel: Effect of the water environment profile on the propulsion performance
  10. Boundary element analysis of rotating functionally graded anisotropic fiber-reinforced magneto-thermoelastic composites
  11. Effect of heat-treatment processes and high temperature variation of acid-chloride media on the corrosion resistance of B265 (Ti–6Al–4V) titanium alloy in acid-chloride solution
  12. Influence of selected physical parameters on vibroinsulation of base-exited vibratory conveyors
  13. System and eco-material design based on slow-release ferrate(vi) combined with ultrasound for ballast water treatment
  14. Experimental investigations on transmission of whole body vibration to the wheelchair user's body
  15. Determination of accident scenarios via freely available accident databases
  16. Elastic–plastic analysis of the plane strain under combined thermal and pressure loads with a new technique in the finite element method
  17. Design and development of the application monitoring the use of server resources for server maintenance
  18. The LBC-3 lightweight encryption algorithm
  19. Impact of the COVID-19 pandemic on road traffic accident forecasting in Poland and Slovakia
  20. Development and implementation of disaster recovery plan in stock exchange industry in Indonesia
  21. Pre-determination of prediction of yield-line pattern of slabs using Voronoi diagrams
  22. Urban air mobility and flying cars: Overview, examples, prospects, drawbacks, and solutions
  23. Stadiums based on curvilinear geometry: Approximation of the ellipsoid offset surface
  24. Driftwood blocking sensitivity on sluice gate flow
  25. Solar PV power forecasting at Yarmouk University using machine learning techniques
  26. 3D FE modeling of cable-stayed bridge according to ICE code
  27. Review Articles
  28. Partial discharge calibrator of a cavity inside high-voltage insulator
  29. Health issues using 5G frequencies from an engineering perspective: Current review
  30. Modern structures of military logistic bridges
  31. Retraction
  32. Retraction note: COVID-19 lockdown impact on CERN seismic station ambient noise levels
  33. Special Issue: Trends in Logistics and Production for the 21st Century - Part II
  34. Solving transportation externalities, economic approaches, and their risks
  35. Demand forecast for parking spaces and parking areas in Olomouc
  36. Rescue of persons in traffic accidents on roads
  37. Special Issue: ICRTEEC - 2021 - Part II
  38. Switching transient analysis for low voltage distribution cable
  39. Frequency amelioration of an interconnected microgrid system
  40. Wireless power transfer topology analysis for inkjet-printed coil
  41. Analysis and control strategy of standalone PV system with various reference frames
  42. Special Issue: AESMT
  43. Study of emitted gases from incinerator of Al-Sadr hospital in Najaf city
  44. Experimentally investigating comparison between the behavior of fibrous concrete slabs with steel stiffeners and reinforced concrete slabs under dynamic–static loads
  45. ANN-based model to predict groundwater salinity: A case study of West Najaf–Kerbala region
  46. Future short-term estimation of flowrate of the Euphrates river catchment located in Al-Najaf Governorate, Iraq through using weather data and statistical downscaling model
  47. Utilization of ANN technique to estimate the discharge coefficient for trapezoidal weir-gate
  48. Experimental study to enhance the productivity of single-slope single-basin solar still
  49. An empirical formula development to predict suspended sediment load for Khour Al-Zubair port, South of Iraq
  50. A model for variation with time of flexiblepavement temperature
  51. Analytical and numerical investigation of free vibration for stepped beam with different materials
  52. Identifying the reasons for the prolongation of school construction projects in Najaf
  53. Spatial mixture modeling for analyzing a rainfall pattern: A case study in Ireland
  54. Flow parameters effect on water hammer stability in hydraulic system by using state-space method
  55. Experimental study of the behaviour and failure modes of tapered castellated steel beams
  56. Water hammer phenomenon in pumping stations: A stability investigation based on root locus
  57. Mechanical properties and freeze-thaw resistance of lightweight aggregate concrete using artificial clay aggregate
  58. Compatibility between delay functions and highway capacity manual on Iraqi highways
  59. The effect of expanded polystyrene beads (EPS) on the physical and mechanical properties of aerated concrete
  60. The effect of cutoff angle on the head pressure underneath dams constructed on soils having rectangular void
  61. An experimental study on vibration isolation by open and in-filled trenches
  62. Designing a 3D virtual test platform for evaluating prosthetic knee joint performance during the walking cycle
  63. Special Issue: AESMT-2 - Part I
  64. Optimization process of resistance spot welding for high-strength low-alloy steel using Taguchi method
  65. Cyclic performance of moment connections with reduced beam sections using different cut-flange profiles
  66. Time overruns in the construction projects in Iraq: Case study on investigating and analyzing the root causes
  67. Contribution of lift-to-drag ratio on power coefficient of HAWT blade for different cross-sections
  68. Geotechnical correlations of soil properties in Hilla City – Iraq
  69. Improve the performance of solar thermal collectors by varying the concentration and nanoparticles diameter of silicon dioxide
  70. Enhancement of evaporative cooling system in a green-house by geothermal energy
  71. Destructive and nondestructive tests formulation for concrete containing polyolefin fibers
  72. Quantify distribution of topsoil erodibility factor for watersheds that feed the Al-Shewicha trough – Iraq using GIS
  73. Seamless geospatial data methodology for topographic map: A case study on Baghdad
  74. Mechanical properties investigation of composite FGM fabricated from Al/Zn
  75. Causes of change orders in the cycle of construction project: A case study in Al-Najaf province
  76. Optimum hydraulic investigation of pipe aqueduct by MATLAB software and Newton–Raphson method
  77. Numerical analysis of high-strength reinforcing steel with conventional strength in reinforced concrete beams under monotonic loading
  78. Deriving rainfall intensity–duration–frequency (IDF) curves and testing the best distribution using EasyFit software 5.5 for Kut city, Iraq
  79. Designing of a dual-functional XOR block in QCA technology
  80. Producing low-cost self-consolidation concrete using sustainable material
  81. Performance of the anaerobic baffled reactor for primary treatment of rural domestic wastewater in Iraq
  82. Enhancement isolation antenna to multi-port for wireless communication
  83. A comparative study of different coagulants used in treatment of turbid water
  84. Field tests of grouted ground anchors in the sandy soil of Najaf, Iraq
  85. New methodology to reduce power by using smart street lighting system
  86. Optimization of the synergistic effect of micro silica and fly ash on the behavior of concrete using response surface method
  87. Ergodic capacity of correlated multiple-input–multiple-output channel with impact of transmitter impairments
  88. Numerical studies of the simultaneous development of forced convective laminar flow with heat transfer inside a microtube at a uniform temperature
  89. Enhancement of heat transfer from solar thermal collector using nanofluid
  90. Improvement of permeable asphalt pavement by adding crumb rubber waste
  91. Study the effect of adding zirconia particles to nickel–phosphorus electroless coatings as product innovation on stainless steel substrate
  92. Waste aggregate concrete properties using waste tiles as coarse aggregate and modified with PC superplasticizer
  93. CuO–Cu/water hybrid nonofluid potentials in impingement jet
  94. Satellite vibration effects on communication quality of OISN system
  95. Special Issue: Annual Engineering and Vocational Education Conference - Part III
  96. Mechanical and thermal properties of recycled high-density polyethylene/bamboo with different fiber loadings
  97. Special Issue: Advanced Energy Storage
  98. Cu-foil modification for anode-free lithium-ion battery from electronic cable waste
  99. Review of various sulfide electrolyte types for solid-state lithium-ion batteries
  100. Optimization type of filler on electrochemical and thermal properties of gel polymer electrolytes membranes for safety lithium-ion batteries
  101. Pr-doped BiFeO3 thin films growth on quartz using chemical solution deposition
  102. An environmentally friendly hydrometallurgy process for the recovery and reuse of metals from spent lithium-ion batteries, using organic acid
  103. Production of nickel-rich LiNi0.89Co0.08Al0.03O2 cathode material for high capacity NCA/graphite secondary battery fabrication
  104. Special Issue: Sustainable Materials Production and Processes
  105. Corrosion polarization and passivation behavior of selected stainless steel alloys and Ti6Al4V titanium in elevated temperature acid-chloride electrolytes
  106. Special Issue: Modern Scientific Problems in Civil Engineering - Part II
  107. The modelling of railway subgrade strengthening foundation on weak soils
  108. Special Issue: Automation in Finland 2021 - Part II
  109. Manufacturing operations as services by robots with skills
  110. Foundations and case studies on the scalable intelligence in AIoT domains
  111. Safety risk sources of autonomous mobile machines
  112. Special Issue: 49th KKBN - Part I
  113. Residual magnetic field as a source of information about steel wire rope technical condition
  114. Monitoring the boundary of an adhesive coating to a steel substrate with an ultrasonic Rayleigh wave
  115. Detection of early stage of ductile and fatigue damage presented in Inconel 718 alloy using instrumented indentation technique
  116. Identification and characterization of the grinding burns by eddy current method
  117. Special Issue: ICIMECE 2020 - Part II
  118. Selection of MR damper model suitable for SMC applied to semi-active suspension system by using similarity measures
Downloaded on 20.10.2025 from https://www.degruyterbrill.com/document/doi/10.1515/eng-2022-0032/html
Scroll to top button