1 Introduction

Additive manufacturing (also called 3D printing) of plastics has become an increasingly common and popular technology. With a variety of 3D printing processes available for a wide range of materials, this manufacturing technology has been widely adopted in a large number of fields, including mechanical engineering, civil engineering, aerospace, electronics, and biomedical [1, 2]. Among all the types of additive manufacturing is the fusion deposition modeling (FDM) technology [3], which is based on the creation of objects by depositing layers of molten thermoplastic polymers starting from a spooled filament. This process starts with pre-processing, continues with the construction of the piece itself and ends with post-processing if necessary. In the pre-processing, the CAD geometry of the part to be manufactured is divided into layers, and the printing parameters of the process are established. Then, the piece is built in the 3D printer, where the filament is molten, extruded, and deposited layer by layer until the piece is complete. If there is any support, it will be removed in the post-processing phase. This technology started out being used for rapid prototyping and proofs of concept, but over the years, it has gained more weight in other fields due to the low price of machinery and materials in relation to other types of additive manufacturing.

The printing parameters defined in the pre-processing will determine, among other characteristics, the mechanical behavior of the printed part. For this reason, numerous authors have dedicated to investigate the parameters considered most relevant: infill pattern [4, 5], orientation of the layers [6, 7], printing speed [8,9,10], printing temperature [8, 11, 12], the thickness of the layers [5, 8, 13], or the infill density [4, 5, 13, 14].

Regarding the materials used in FDM, the most frequent for having more aptitudes for printing are PLA (polylactic acid [13,14,15,16]), ABS (acrylonitrile butadiene styrene) [14], or PETg (polyethylene terephthalate glycol) [15]. In recent years, all countries have reached a unanimous decision to reduce the amount of plastic waste generated or to look for fewer polluting alternatives, steering towards biodegradable or recycled materials. In this line, PLA is not made from fossil fuels and is degradable under certain environmental conditions, which is why it is considered the most environmentally friendly printable polymer. Lately, the possibility of adding or substituting a percentage of the polymer for another material in the form of powder or fibers has also been extensively studied by many authors seeking two objectives: reduce the amount of plastic used and try to improve some properties of the final product. These additions can be in the form of metallic powder [17,18,19,20], nut shells [21, 22], seashells [23,24,25], textile fibers [26, 27], or glass [28, 29].

In general, any work that falls within the scope of 3D plastics manufacturing should pursue three main objectives:

  • Minimization of the amount of material to be used: the interest lies in knowing how the mechanical properties vary when reducing the amount of material to be used; that is, replacing a completely solid piece with one with a partially hollow one, modifying the printing parameter called “infill density.”

  • Reduction of printing time: plastic 3D printers usually have by default nozzle sizes of 0.4 mm in diameter. However, this is especially intended for manufacturing parts dimensions no larger than 15 × 15 × 15 mm3. This means that the printing time would be very high on parts with large volumes but could be reduced by using larger nozzle diameters. Therefore, there is a need to evaluate the mechanical properties of printed parts using the largest nozzle sizes found on the market for the printer available.

  • Promotion of the circular economy: among the thermoplastics employed in 3D printing, PLA is the most environmentally friendly alternative. In addition, the use of powder fillers from waste from other production processes enhances the circular economy. Specifically, in this work, glass powder with a particle size between 0.05 and 0.4 mm is available.

Some of these parameters have already been analyzed in other works, although as suggested and demonstrated by Ruben Bayu Kristiawan et al. [30], the relationships between factors and parameters are still unclear and should be investigated.

Authors such as Rodriguez-Panes et al. [14] and Algarni et al. [31] studied the influence of numerous printing parameters and concluded that the percentage of filler is the most influential on the mechanical properties of the materials evaluated, so it is important to quantify this influence according to the characteristics of the material and the rest of the printing parameters.

On the other hand, there is hardly any information related to the nozzle size used in the process. Only Alsoufi et al. [32] and Ferretti et al. [33] study the change in nozzle diameter with respect to the roughness of the surfaces built and the volume of defects generated, respectively. Thus, it is necessary to analyze the change of the mechanical parameters with a nozzle diameter.

In relation to the use of glass powder added to the polymeric base, there are hardly any studies analyzing the strength, and the existing ones suggest a slight worsening of the mechanical properties [29], which should be further studied. The added value of this analysis lies on the simultaneous study of the three parameters so that the results reveal not only the influence of these parameters independently but also the interaction among them.

Considering the above, this paper firstly focuses on the evaluation of the influence of infill density, nozzle size, and the addition of glass powder to the PLA polymeric based on the tensile and flexural mechanical properties. This will be done among the different cases generated from the parameter combination.

Secondly, once the mechanical parameters are obtained, the other two criteria that are fundamental for the future market uptake of the technology and the materials will be assessed: economic and environmental aspects of the different cases mentioned.

It is vital that the results obtained from these three aspects are considered when it comes to industrialize a process. Having this into account, and in order to decide the most suitable case from the ones studied, a multi-criteria analysis (MCDMA) is used that will encompass the most relevant aspects in this decision.

2 Materials and methods

2.1 Materials

The PLA was supplied in pellets shape by the company EOLAS Prints (Cantabria, Spain). Glass powder, which comes from the shredding of car windows, was supplied by the waste management company FCC Ámbito S.A. (Cantabria, Spain) and was used as an additive. After crushing, the coarser fraction can be re-melted and re-used to produce more glass. However, this is not feasible for the finer fraction that is usually recycled in other applications (i.e., ceramic industry and construction materials). After carrying out 3D printing work on concrete incorporating this material [34, 35], it was decided to also incorporate it into the FDM 3D printing process for plastic, specifically PLA in this case, in order to analyse its behaviour.

2.2 Design of experiments

The first handicap lies in finding the right number of experiments to carry out this study with precision. To this end, it was decided to use a design of experiments (DoE), a statistical tool that rationalises the number of tests to work out, afterwards, correlations, or regression models. It is therefore used to design the ideal conditions of a product, process, or service so that it meets the expectations placed on it by using a minimum number of trials and tests. Specifically, a 3-factor full factorial design with a central point was used. This results in a total of 9 combinations, which are shown in Table 1. Minimum and maximum values must be given to each parameter. In this case, the following:

  • Nozzle size (mm): this value is directly related to the printing speed, so its increment leads to a desirable manufacturing time reduction. Taking these into account and considering the model of the printer available for this research, large nozzle size values were aimed to be used. Hence, the largest nozzle size used was 1.2 mm, and the minimum was 0.8 mm. Selecting these two values allows to include a central point (1 mm).

  • Infill density (%): a completely solid piece exhibits the highest level of strength, while reducing the infill density leads to a decrease in resistance. However, minimizing the amount of material used is desirable to mitigate costs and environmental impact. Therefore, the infill density is selected to be at its maximum value of 100%, representing a solid piece, while a minimum of 80% is deemed acceptable to reduce material usage without compromising the resistance of the component.

  • Weight percentage of glass powder added to PLA (%): the maximum selected value was 10% glass, which was found appropriate for obtaining filament with correct diametrical tolerances and uniform filament diameter along the spool. The minimum was a 0%, that is, virgin PLA, as a reference to compare with.

Table 1 Analyzed cases of factorial DoE

The central point corresponds to the intermediate values of the three parameters: 1 mm of nozzle size, 90% infill density, and 5% of glass content. Each case was reproduced in a total of 5 replicates, as indicated in the test standards, detailed in Section 2.5. Therefore, a total of 45 experiments for each type of test were performed, that is, 45 for tension and 45 for bending.

2.3 Filament manufacturing

The filament was manufactured using pure PLA or a mixture of PLA with glass powder in the percentage defined for each case, using the 3devo Composer 450 desktop extruder (Fig. 1a). The equipment has a single extrusion screw with a geometry specially designed to make mixtures of plastic and other powder components thanks to the grooved shape of its end part. It has a small hopper where the material is deposited. It passes through a grid into the extrusion screw, which operates at four different temperatures at four different points along its longitudinal direction. The temperatures used in this work, ordered from the beginning to the end of the extrusion screw are 170, 185, 190, and 170 ℃. Subsequently, the extruded material exits through the nozzle, where it is cooled by two fans and the diameter is controlled by a sensor incorporated into the machine. Finally, the extruder itself also has a winding system for the extruded product, which adapts to the output speed of the material.

Fig. 1
figure 1

a 3devo Composer 450 extruder and b 3D printer Artillery Sidewinder X1

Prior to the extrusion process, the PLA was dried at 60 ℃ for 24 h to remove as much moisture as possible and minimise the appearance of pores in the filament.

2.4 3D Printing of specimens

The machine used to manufacture the samples was the Artillery Sidewinder X1 3D printer (Fig. 1b). The software used for the pre-processing was Ultimaker Cura, in which the specimens (Fig. 1b) are imported in STL format, placed on the bed, and the printing parameters are defined.

Table 2 shows the parameters that have been kept constant in all the cases studied. The modification of the nozzle size according to the case under consideration affects the parameter called “Line Width,” this being equal to the nozzle diameter; i.e., 0.8, 1 or 1.2. The other parameter to be modified is called “Infill Density,” which is replaced by 100%, 80%, or 90% depending on the percentage to be evaluated.

Table 2 Parameters of all the printed parts

2.5 Tension and flexural tests

Tension tests were performed according to UNE-EN ISO 527–2:2019 [36]. Type 1B specimen geometry was chosen, with a halter shape. In the case of the bending specimens, the standard UNE-EN-ISO 178:2019 [37], whose specimens have a prismatic geometry, was used.

Both tests were carried out on a Zwick Roell Z100 universal testing machine. The tension tests were performed by clamping the ends of the specimens between two flat grips leaving a specimen base test length of 115 mm, while the base length between optical gauges to measure deformations was set to 50 mm. Bending tests were carried out over an 80 mm length × 10 mm width specimen, 64 mm separation between supports, and a punctual load applied at the center of the specimen.

2.6 Life cycle assessment (LCA)

A cradle-to-gate life cycle assessment was carried out to assess the impact on the environment of each alternative as described on Table 1. The Life Cycle Inventory was performed with Ecoinvent 3.0 database and the Impact Assessment according to the Environmental Footprint Methodology (EF 3.0). Thus, sixteen impact categories were considered in the LCA, which are listed in Section 3.3.

2.7 Costs

The calculation of the costs was divided in filament and in printing cost. Filament cost involves the sum of the materials (PLA pellets and glass powder) as well as the extrusion costs. Extrusion costs were calculated according to Eq. 16 dividing the depreciation and maintenance cost of the extruder by the mass flow estimated experimentally:

$$\mathrm{Filament}\;\mathrm{extrusion}\;\mathrm{cost}=\frac{\frac{\frac{C-SV}{SL}}{H_{\mathrm{anual}}}+\frac{CR_{\mathrm{anual}}}{H_{\mathrm{anual}}}}{\dot m}$$
(1)

where C is the cost of the extruder in €, SV is the saved value in €, SL is the shelf life of the extruder in hours, \({H}_{\mathrm{anual}}\) is the annual use in hours, and \(\dot{m}\) is the mass flow in kilograms per hour. The printing cost was obtained as the sum of the price of depreciation and maintenance of the machine, as well as the electricity supplies and labor costs associated with the printing time for each case. Depreciation and maintenance cost of the printer were calculated in the same way as for the extrusion, using Eq. 1, and substituting the data of the extruder by the one of the 3D printer.

2.8 Multicriteria decision-making analysis

As anticipated in the introduction (Section 1), the achievement of certain mechanical characteristics is not the only objective of the work. Due to the appearance of more than one criterion in the decision-making process and the non-uniformity between the weights of these criteria, it was decided to use the multi-criteria decision-making analysis (MCDMA). The weighting of the criteria was performed using AHP (analytical hierarchy process) [38], while the alternatives were assessed by two different techniques: WASPAS (weighted aggregated sum product assessment) [39] and TOPSIS (technique for order preference by similarity to ideal solution) [40].

2.8.1 Selection of criteria

From a commercial point of view, there are three main criteria that influence the decision on the best alternative: filament cost, printing cost, and environmental impact. Considering that parts will be manufactured for structural purposes, strength cannot be left as an isolated criterion, but must be integrated into the above-mentioned criteria. This is because the aim is to reduce costs and environmental impact related to strength as much as possible. Thus, a normalization was made by dividing each criterion by the strength in MPa. Due to the fact that results have been obtained through tests of two types, four MDMA were carried out, two (one WASPAS and one TOPSIS) normalizing with the tensile strength and the other two (WASPAS and TOPSIS) with the flexural strength.

The selected criteria were the following:

  • Filament cost ((€/kg)/MPa): this parameter evaluates the cost of the filament per unit mass used in each case, normalized by the resistance. PLA with glass powder in different proportions was used as the material to produce the filament.

  • Printing cost ((€/kg)/MPa): as in any manufacturing processes, in 3D printing is vital to minimise the production time, which leads to a reduction in the printing cost (amortization of machines, labor, and supplies). The production time of the parts depends directly on the printing parameters used. This criterion is where the influence of the nozzle size and the infill density was considered, as these have a direct impact on the printing time. The printing cost was evaluated by normalizing by the respective strength.

  • Environmental impact ((LCA/kg)/MPa): the incorporation of glass powder has a positive effect on the circular economy, since a new recycling route is given for this material whose reuse is not feasible. The environmental impact was measured by a life cycle assessment (LCA), which provides a numerical value dependent on 28 indicators, and was also normalized by the strength.

2.8.2 Selection of alternatives

The alternatives assessed correspond to the 9 DoE cases defined in Section 2.2. These cases differ in the infill density (and therefore, the amount of material used), nozzle size (which has an impact on manufacturing time and consequently costs), and percentage of glass (enhancing the circular economy in those cases where glass is used, thus reducing the environmental impact of the solution).

2.8.3 Weighting the criteria: AHP

This analytic hierarchy process (AHP) is based on the scoring of criteria by comparing them two by two [38]. Saaty proposes a relative importance scale in which he specifies that values are scored on a range from 1 to 9, from giving them equal importance to giving extreme importance to one against the other (Table 3).

Table 3 Saaty’s scale of relative importance

The pairwise comparison matrix of Eq. 2 is constructed using this range of values. The values of the diagonal take value 1 (thus expressing that a criterion is compared with itself, having the same importance), and the value it gives when comparing criterion j with criterion i (aji) must be the inverse of the one obtained when comparing criterion i with j (aij).

$$A=\left[\begin{array}{ccccc}{a}_{11}& \dots & {a}_{1j}& \dots & {a}_{1n}\\ \vdots & & \vdots & & \vdots \\ {a}_{i1}& \cdots & {a}_{ij}& \dots & {a}_{in}\\ \vdots & & \vdots & & \vdots \\ {a}_{n1}& \dots & {a}_{nj}& \dots & {a}_{nm}\end{array}\right] , {a}_{ii}=1, {a}_{ij}=\frac{1}{{a}_{ji}} , {a}_{ji}\ne 0$$
(2)

Next, matrix A is normalized. This is done by dividing each value of the matrix by the sum of the values of the same column.

$$\overline{{a }_{ij}}= \frac{{a}_{ij}}{\sum_{l=1}^{n}{a}_{lj}}$$
(3)

Finally, the vector weight is obtained. This is calculated with the average of all the values of the same row.

$${w}_{i}= \frac{{\sum }_{l=1}^{n}{a}_{jl}}{n}$$
(4)

2.8.4 Weighting the alternatives

WASPAS

With the combination of the weighted sum model (WSM) and the weighted product model (WPM), the weighted sum of products assessment (WASPAS) is obtained. This is one of the most robust MCDMA methods and was developed by Zavadskas et al. 2012 [39].

To perform the calculation with the WASPAS method, the following steps should be followed:

  1. a)

    First, the weighted decision matrix for both criteria (beneficial and non-beneficial) should be normalized. A criterion is beneficial if its value is desired to be as high as possible, while if the best option is to be as low as possible, it is a non-beneficial criterion. Equations (4) and (5) are used for normalization.

    $${X\mathrm{^{\prime}}}_{ij}= \frac{{X}_{ij}}{\mathrm{max}({X}_{ij})}\to \mathrm{Beneficial}$$
    (5)
    $${X}_{ij}^{\mathrm{^{\prime}}}= \frac{\mathrm{min}\left({X}_{ij}\right)}{{X}_{ij}}\to \mathrm{Non}-\mathrm{beneficial}$$
    (6)
  2. b)

    Then, the total relative importance is calculated by means of the following:

    • The weighted sum model (WSM): it is defined as the sum of the product of the weight in column j (Wj) plus the values that were normalized in the previous point.

      $${A}_{i}^{\mathrm{WSM}}=\sum\limits_{j=1}^{n}{W}_{j}\cdot {X\mathrm{^{\prime}}}_{ij}={Q}_{i}^{1}$$
      (7)
    • The weighted product model (WPM): this is the sum of normalized values boosted by the weight of the criteria.

      $${A}_{i}^{\mathrm{WPM}}=\prod_{j=1}^{n}{X\mathrm{^{\prime}}}_{ij}^{{W}_{j}}{=Q}_{i}^{2}$$
      (8)
  3. c)

    The weighted aggregation of both the additive and multiplicative methods is used as a generalized criterion. Thus, the relative importance of each alternative is obtained, with the Eq. 8.

    $${Q}_{i}=0.5{Q}_{i}^{1}+0.5{Q}_{i}^{2}$$
    (9)

TOPSIS

The technique of order preference by similarity to ideal solution (TOPSIS) tries to select in a way that chooses the shortest distance to the positive ideal solution and the farthest distance to the negative ideal solution [40].

The steps to follow the TOPSIS method are as follows:

  1. a)

    Dividing each value by the square root of the sum of the squared vertical values, the decision matrix is normalized.

    $$\begin{array}{ccc}r_{ij}=\frac{X_{ij}}{\sqrt{\sum_{i=1}^nX_{ij}^2}},&i=1,\;2,\dots,\;n;&j=1,2,\dots,\;m\end{array}$$
    (10)
  2. b)

    Then, multiplying each value of the normalized matrix (\({r}_{ij}\)) by its weights (\({w}_{j}\)) to obtain the weighted normalized decision matrix.

    $$\begin{array}{c}V={\left({v}_{ij}\right)}_{m\cdot n }\\ {v}_{ij}={w}_{j}{r}_{ij},\;\; i=1, 2, \dots , n; \;\;j=\mathrm{1,2},\dots , m\end{array}$$
    (11)
  3. c)

    The ideal solution is determined using Eq. (12) and the negative ideal solution using Eq. 13, considering the beneficial criteria set \({\Omega }_{\mathrm{b}}\) and non-beneficial criteria set \({\Omega }_{\mathrm{c}}\).

    $${V}_{j}^{+}=\left\{{v}_{1}^{+}, \dots , {v}_{2}^{+}\right\}=\left\{\underset{j}{\mathrm{max}}{v}_{ij} | j\in {\Omega }_{\mathrm{b}}\right\}, \left\{\underset{j}{\mathrm{min}}{v}_{ij} | j\in {\Omega }_{\mathrm{c}}\right\}$$
    (12)
    $${V}_{j}^{-}=\left\{{v}_{1}^{-}, \dots , {v}_{2}^{-}\right\}=\left\{\underset{j}{\mathrm{min}}{v}_{ij} | j\in {\Omega }_{\mathrm{b}}\right\}, \left\{\underset{j}{\mathrm{max}}{v}_{ij} | j\in {\Omega }_{\mathrm{c}}\right\}$$
    (13)
  4. d)

    The Euclidean distances of each alternative from the positive ideal solution and the negative ideal solution are calculated using Eqs. 14 and 15.

    $${S}_{i}^{+}={\left(\sum_{j=1}^{m}{\left({V}_{ij}-{V}_{j}^{+}\right)}^{2}\right)}^{0.5}$$
    (14)
    $${S}_{i}^{-}={\left(\sum_{j=1}^{m}{\left({V}_{ij}-{V}_{j}^{-}\right)}^{2}\right)}^{0.5}$$
    (15)
  5. e)

    The relative closeness of each alternative to the ideal solution is reached.

    $${P}_{i}=\frac{{S}_{i}^{-}}{{S}_{i}^{+}+{S}_{i}^{-}}$$
    (16)

3 Results and discussion

3.1 Mechanical tests

For each specimen, the stress vs. strain curve was obtained in the case of tension, or force vs. deflection in the case of bending. From these, calculations using equations on the standards UNE-EN ISO 527–2:2019 [36] and UNE-EN-ISO 178:2019 [37] were made for the variables of interest: maximum strength (\(\sigma\)), elastic modulus (\(E\)), and strain at the point of maximum strength (\(\varepsilon\)). Table 4 shows the mean values and percentage deviations of the five replicates of each DoE case for each of the six mechanical outputs. Some results were discarded due to problems during the test (premature breakage or breakage in the jaw area) or results that were markedly abnormal with respect to the rest of the specimens in the same case (outliers).

Table 4 Results (strength, elastic modulus, and strain) of the tension and bending tests on the 9 DoE cases

It was decided to analyze the strain variable at the point of maximum strength instead of at the breaking point after creep, since the purpose of this material is to have a function that is not only aesthetic but also resistant, so it is necessary to avoid working in the creep zone. In addition, the breakage in tension occurs violently and close to the point of maximum resistance, with hardly any travel, so that both deformations are not far from each other. This does not occur in bending, since it can be seen (Fig. 2) that, after the maximum strength, the increase in strain produces a significant reduction in the stress until breakage, a zone in which it is not advisable to work in the use of these materials.

Fig. 2
figure 2

Differences in the strain and the plastic zone of bending and tension tests (case 3)

3.2 DoE statistical evaluation

The regression equations obtained for each variable are shown in Table 5. Minitab software was chosen for the DoE and statistical evaluation, including the regression equations. The data of the five replicas were introduced on the software for the analysis.

Table 5 Regression equations of strength, elastic modulus, and strain obtained with the tension and bending tests and goodness of fit (R2 predicted)

In the analysis of the tensile behavior, it is observed that the regression equations obtained for the variables elastic modulus and strength are capable of correctly reproducing the behavior according to their influential parameters in each case since they show a predictive R2 of more than 89%. However, in relation to the case of the tensile strain equation, the model has low fitting values. This lack of fit can be assigned to two causes:

  1. I.

    The way in which the load is applied in both tests causes tensile failure to be more abrupt compared to bending, and there are cases in tension where failure occurs even before the curve of the material reaches its maximum. In the case where the stress reaches its maximum point, the breakage occurs immediately afterwards. This can certainly distort the tensile results, having more influence on the strain than on the strength, since close to the failure point the curve flattens. Consequently, a high increment of strain leads to a low growth of stress. On the contrary, in bending tests, the maximum is recorded in all cases, since there is a notably greater difference between the point of maximum strength and the point of breakage of the part. Thus, the bending plastic zone is much larger than the tensile plastic zone. In particular, as shown in Fig. 2 for case 3, the plastic zone in bending is approximately 83% larger than that in tension. This situation can be extrapolated to the rest of the cases.

  2. II.

    The other reason lies in the properties acquired by the material due to the extrusion process itself. It has been found, using commercial filaments, that in the tension test a more extensive creep zone appears in comparison with those obtained in the laboratory with filaments manufactured using the 3DEVO extruder. In other words, the filaments manufactured in the laboratory show a more fragile behaviour. One of the reasons for this change in plastic zone properties could be attributed to differences in the cooling method. While the desktop extruder 3DEVO is cooled with the help of two small fans focused at the outlet of the extrusion nozzle, the commercial filaments used are cooled by water pools of several meters, the cooling being more gradual. Related to the extrusion process, differences also could be allocated to the use of plasticisers by commercial filament manufacturers. However, this could not be corroborated as the manufacturers keep the composition of their blends confidential.

In the case of the bending regression equations, adequate fits were obtained for the three mechanical parameters, with good predictability, always greater than 90%.

Another way to analyze the DoE results is the interpretation of Pareto diagrams (Fig. 3). These shows, in decreasing order, which terms in the model are influential. It also details which are statistically significant, i.e., when their standardised effect is above the red line, which marks the quantile (1-α/2), where α = 0.05 represents the significance level: the probability of rejecting the null hypothesis when it is true.

Fig. 3
figure 3

Pareto charts for the two types of tests (tension and bending) and the three output variables (strength, elastic modulus, and strain)

In the tensile modulus of elasticity as well as in the tensile and flexural strengths, the most influential parameter is the infill density. In the flexural modulus of elasticity, the infill density is the second most important parameter. In addition, nozzle size and glass percentage also have an influence on these 4 output variables, although with different importance and not in all cases they are statistically significant terms. While for tensile strength and modulus 7 terms (independent and interactions) are needed to define these output variables, for modulus and flexural strength 5 terms are sufficient.

The strain at the point of maximum strength in tension is approximated by 4 terms and in bending by 5. However, there is no unanimity in the order of importance of the terms, observing for example that in tension the percentage of the glass has a minimal influence while in bending it has a greater relevance in the result, although it continues to be the least influential independent factor.

As to whether the influence of these terms is directly or inversely proportional to the mechanical parameters, it is necessary to study the main effects of each term (Table 6). The effect of a factor, which calculates the change when the factor varies from its low to high level, is used to represent the expected change in the mean response. The sign of the effect indicates the direction of the relationship between the term and the response. It is observed that the interaction of nozzle size and infill density influences in all tensile and bending mechanical properties with the exception of tensile strain. Furthermore, this term has a directly proportional influence on bending parameters, while in tension it is inversely proportional. It is also noteworthy that precisely the strain corresponding to the maximum tensile strength has the worst goodness-of-fit (predicted R2). Interestingly, for the maximum strength in both tension and bending, the single most influential parameter is the infill density, implying higher strength values with the increase of infill density. As for the terms with interactions, the most influential is the nozzle size with the infill density in bending, while in tension it is also the nozzle size but this time interacting with the percentage of glass load. Again, an increase in each term has a positive effect in the mentioned output.

Table 6 Main effects of each term of the models for the three output variables of tension and bending tests. Terms could be the independent input variables, the interaction two by two of the interaction of the three

3.3 LCA

A cradle-to-gate LCA was carried out for the nine alternatives under study. The functional unit considered for this analysis is 1 kg of printable material with different proportions of PLA and glass powder according to Table 1.

The life cycle inventory of the PLA was obtained from Ecoinvent 3.0 database (market for polylactide, granulate (GLO), cut-off, U). This dataset includes the PLA production process and also the trade between the producer and consumer, being the transportation process also considered.

As for the glass powder, it is a by-product obtained from the recycling of windshields. Two main processes are involved in vehicle glass recycling: the dismantling and the processing of the windshields (Table 7). The first one, dismantling, consists of removing the windshields from the car. The electricity and diesel consumption during this process have been obtained from [41], and it is summarized in Table 7 per ton of glass powder. According to it, an electric cutter of 1 kW for 2 min can be used to separate the windshields that are glued to the vehicle’s structure. The rest can be separated by manual force. In addition, a forklift is used to transport the vehicle within the installations (0.2 l of diesel per vehicle). For the dismantling process, 0.031 tons glass per vehicle has been estimated. Finally, the obtained windshields are transported to the recycling plant. An average transportation distance of 50 km has been considered.

Table 7 Diesel and electricity consumption for the production of 1 ton of glass powder from end-of-life windshields

The second one, windshields processing, consists of two main steps: crushing and hammer milling. The first step uses, for a production of 30-ton glass per hour, 54 l of diesel for both a shredder and a wheel loader and 15 kWh electricity for the conveyors and other electrical equipment [41]. The second step with a capacity of 8 ton/h, consumes around 48 kWh [41]. From the total input of the windshield processing, it is estimated that 65% is glass and around 30% of the glass is glass powder.

The environmental profile of the alternatives is expressed considering 16 impact categories, following the impact assessment method of the Environmental Footprint initiative, the EF method 3.0 normalization, and weighting set [42]. The results are shown in Table 8. In bold, the total EF on the different cases resulting from the sum of all the categories detailed in the previous rows.

Table 8 LCA analysis

Finally, for the transportation of glass powder to the consumer, a transportation distance of 100 km has been assumed. The Ecoinvent dataset for a lorry (3.5–7.5 tons, Euro 4) has been chosen.

Among the different printing materials, those with the highest percentage of glass powder present the lowest global environmental impact. This is because the impact of recycling glass powder is lower than that of producing virgin PLA, so the substitution of the same amount of PLA by recycled glass powder results in a reduced environmental burden. Looking at each impact category individually, the behaviour is the same. The lower the amount of PLA, the lower the impact, being the reduction almost constant in all the category impact and around 10%.

3.4 Costs

The filament cost calculation (Table 9) involves the sum of the price of PLA, given by the company EOLAS Prints, and the glass powder that makes up the additive, given by FCC Ámbito S.A., as well as the extrusion of this material to obtain the filament that is used to print the parts. Cases on Table 9 are grouped by their similarity on their cost calculation, whose totals are marked in bold in the last row.

Table 9 Filament costs in € per kg

When calculating the extrusion cost using Eq. (1), C is obtained from the invoice in the purchase date (24/11/2021), SV, SL, and \({H}_{\mathrm{anual}}\) were estimated from data coming from other company’s experience, since the desktop extruder used has only been on the market for less than 5 years, and no specific data is available.

As for the printing cost (Table 10), the cost of the printer was obtained from the invoice in the purchase date (31/03/2021). Same reasoning as for the extruder applies for the calculation of SV, SL and \({H}_{\mathrm{anual}}\). Labor cost was estimated by diving the average salary in Spain of a junior engineer (in €/h) by the average mass flow of each case, obtained at the laboratory. The electricity costs were calculated using a consumption value of 20 kWh, the average daily value is taken on 27/10/2022. In addition, the printing speed in kg/h is obtained for each case. As in table 9, cases are grouped in table 10 by its calculation similarities. Values in bold indicate the total printing costs in €/kg, as a sum of the previous rows.

Table 10 Printing costs in € per kg

The results show that the cheapest filament is made in cases 1, 3, 5, and 7, which are the cases without glass powder. Despite the raw materials being cheaper in cases with glass, the extrusion costs increase due to the lower production speed. On the other hand, the lowest printing costs occur in cases 7 and 8, followed by 3 and 4, which are the cases that share a nozzle size of 1.2 mm, which means a lower printing time and consequently a decrease in all the items of the printing costs.

3.5 Results of the MCDMA

3.5.1 Criteria weighting

With the aim of giving weight to the criteria and minimising the subjectivity of the decision, a survey, in which the alternatives are scored in line with the AHP methodology, was carried out. Researchers and employees of companies involved in 3D printing were consulted and a total of 10 results were obtained.

With the information from the surveys, and using AHP methodology, the following weights were obtained for each of the criteria:

  • Filament cost: 0.155

  • Printing cost: 0.378

  • Environmental impact: 0.467

3.5.2 Initial decision matrices

For the generation of the initial decision matrices, the costs and the environmental impact per unit of mass were divided by the tensile or flexural strength in each case, so the two initial decision matrices were obtained (Tables 11 and 12), which were the starting point for the four multi-criteria analyses.

Table 11 Initial decision matrix of the MCDMA considers the tension strength as the normalized factor
Table 12 Initial decision matrix of the MCDMA considering the bending strength as the normalized factor

3.5.3 Final ranking of the alternatives

Applying the WASPAS and TOPSIS methodology described in Section 2.8.4, results are obtained and shown in Table 13 and Fig. 4.

Table 13 Results and ranking of the cases subjected to WASPAS and TOPSIS methodology
Fig. 4
figure 4

Performance comparison of alternatives 1 to 9 normalizing the criteria by tension strength or by bending strength using AHP + WASPAS (left), or AHP + TOPSIS (right)

The rankings of the WASPAS technique are equal to those obtained via TOPSIS. This implicates that the conclusions of both methods are identical. Depending on the strength used as a normalizing factor (tension or bending), the order of the alternatives changes. The best options are distributed between cases 7 and 8. Both cases are 100% filled and use a nozzle size of 1.2 mm, and their difference lies in the material, with pure PLA prevailing when normalised for tensile strength, and a glass filler of 10% in weight added to PLA when normalised for flexural strength. In third place is case 5 in both analyses.

For both tension and bending stress, the first four places in the ranking are assigned to alternatives with 100% infill. The fifth place goes to case 9 with 90% infill and the last places in the ranking go to cases with 80% infill. This means that the amount of material is a factor with a great influence on the decision-making, but the reduction in strength is not proportional to the reduction in the amount of material used. Otherwise, there should not be such an appreciable difference between the Qi values with 100% infill and those with 80% infill.

Finally, it is worth highlighting the relevance of the use of the two MCDMA for the determination of the cases with the best characteristics. Taking the tensile strength of the material as the only decision-making criterion, the best possible alternative would have been case 5 with a strength of 52.82 MPa. This alternative has 100% PLA, 100% infill, and a nozzle size of 0.8 mm. This last characteristic, nozzle size, does not correspond to the winning alternatives of the MCDMA, because its influence on the printing time, and therefore on the cost, has a negligible impact.

4 Conclusions

In this work, the infill density, nozzle size, and the addition of glass powder that influence the mechanical properties (tension and bending) have been analyzed using fused deposition modeling. For this purpose, a design of experiments was used from which regression equations of the mechanical properties for tensile and flexural parameters were obtained with high percentages of reliability. The output variables are the maximum strength, the deformation corresponding to the maximum strength, and the elastic modulus. It is shown that the three input parameters individually influence all the mechanical properties. The interaction between the nozzle size and the infill density influences all models except the deformation corresponding to the maximum tensile strength, although it is precisely the one with the lowest accuracy. This interaction has a positive influence on the flexural properties while in tensile properties it is negative. In both tensile and flexural strength, the term with the greatest influence is the infill density of the part.

Although intuitively it could be thought that the strength has a proportional relation with the infill density, it has been demonstrated that the other two parameters analyzed, among others, also influence the mechanical behavior and affect this relationship, i.e., models with 80% infill do not give a strength equal to 80% of that obtained in completely solid specimens.

The economic study was divided in filament and printing costs. For the first category, the lowest values were obtained in those cases without glass powder, and the second one for those that share the largest nozzle size (1.2-mm diameter).

As for the environmental performance, the partial substitution of PLA by waste glass powder in the printing material seems to reduce its environmental impact.

To facilitate the decision-making among the nine cases studied, a multi-criteria analysis has been performed, considering filament costs, printing costs, and environmental impact. Due to structural function purpose of the parts built with these materials, all values have been normalized by tensile and flexural strength, respectively. The assessment of the alternatives using WASPAS gave the same rankings as those using TOPSIS. These analyses show that in case of uniaxial stresses the most suitable option is case 7 (0% glass powder, 1.2-mm nozzle size, and 100% infill). Nevertheless, pieces manufactured by 3D printing are not only subjected to uniaxial stresses but also to combined stresses, resembling a flexural behavior, since tensile and compressive loads as well as shear stresses between the layers appear. Considering flexural stress, the most suitable alternative is case 8 (10% glass powder, 1.2-mm nozzle size, and 100% infill).

Since there is no agreement between the standardized multi-criteria analyses for tensile and flexural strengths, respectively, it is up to the worker to decide which is the best alternative, considering the type of stresses to which the piece to be manufactured will be subjected.