In this paper, a machine learning model to predict the Young’s modulus of polylactic acid specimens manufactured by Fused Deposition Modeling is proposed, based on a stacked ensemble architecture. The model uses as input parameters the fill degree, printing speed, filling pattern, yield strength, and tensile strength, along with additional features obtained through feature engineering. The proposed approach integrates nine base models with a linear meta-model, allowing it to capture both linear and nonlinear relationships between the variables. The results obtained on the test dataset show strong predictive performance, with a Mean Squared Error with a value of 7.31 together with a Coefficient of Determination R2 with a value of 0.99, which is noticeably better than the performance of the individual models. To validate the model, a separate group of specimens was tested, and the difference between the measured and predicted Young’s modulus was about 1% on average. The model was also implemented in a desktop application with a graphical interface, in which the calculation can be run directly, thus allowing a rapid estimation of Young’s modulus. In this way, the need for laborious experimental testing is reduced with the help of AI-based approaches in additive manufacturing.
Wood is a renewable and widely used material whose mechanical performance is strongly influenced by natural defects such as knots, cracks, and resin pockets. These defects affect structural accuracy and make quality assessment an essential step in wood processing and engineering applications. Traditional visual inspection methods are time consuming and subject to individual variability, motivating the development of automated inspection systems based on computer vision. This study proposes a YOLOv8-based framework for automated wood classification and specimen selection. Two YOLOv8 variants, Nano and Medium, were trained on a publicly available wood defect dataset containing more than 20,000 images and over 43,000 annotated defects. The models were used to distinguish defect-free specimens from specimens containing visible defects, enabling objective sample selection. Only specimens classified as defect-free were retained for subsequent three-point bending tests and finite element method (FEM) simulations. Both YOLOv8 models achieved reliable detection performance, allowing consistent separation of defective and defect-free wood samples. The selected specimens exhibited stable mechanical behavior during bending tests, while FEM predictions showed good agreement with the experimental results, with errors below 3.2% in the elastic range. The proposed methodology demonstrates the potential of integrating artificial intelligence, mechanical testing, and numerical simulation into a unified workflow for wood quality assessment and structural evaluation.