Submitted:
13 May 2023
Posted:
15 May 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction

2. Related Work
- Improving efficiency in the prefabrication stage: Here, a user willing to manufacture a given part, takes the CAD files describing this part as well as the desired output and check whether AM is suitable for processing the production. In the context of generative design, machine learning can be in particular used for generating and evaluating digital models that will be used in the 3D printing production
- Defect detection: An AM technology, like any other, is prone to defects. This means the part that was produced from 3D printing could reveal some aberrations. In order to detect such failures and discard the concerned parts, computer vision and AI can be utilized. Here, the printing process will be inspected through high-resolution cameras, and suitable machine leaning algorithms will be used to match the recorded patterns to well-known defects in the AM technology
- Real-time build control: The idea here is to take defect detection using computer vision and dynamically control 3D printers to compensate for the defects. This approach will certainly help in limiting waste of time and materials
- Predictive maintenance: According to Fortune Business Insights 5, the 3D printing industry market size that was US$ 10,41 billion in 2019, could reach US$ 54,96 billion by 2027. An important segment in this market is the spare parts industry 6. Concretely, 3D printing is offering many benefits to this industry including less production costs, 3D digital inventory (printing parts on demand), and faster delivery time. Machine learning and predictive maintenance will also play a crucial role in the expansion of this segment. For instance, applying machine learning to predict in an accurate way the remaining useful life of a certain part can help in scheduling an appointment for the part replacement.
3. Wheelchair design support: The Kyklos 4.0 Approach
- Parametric Design Methodology by CETMA: This component was specifically developed in order to transform anthropometric dimensions into custom parameters for the wheel chair production. This methodology also defines which are the main important dimensions that should be extracted by the DL Toolkit through the image contour analysis. The output of this approach will be a solution that could be applied to create product parametric design engine. The analyzed workflow includes the best definition of variables (dimensions) that should be used as inputs for the final product configuration; the usage of a 3D parametric model in order to create a custom part, or a custom assembly, based on provided inputs. Thanks to this methodology, and guided by Pro Medicare technicians, we were able to define a set of variable to determine the footrest correct parametrization. This approach could be used for mass customization thanks to the use of both the DL Toolkit as well as the Web 3D Modelling Component.
- Web 3D Modelling Component by TWI: The Web 3D Modelling component receives the extracted dimensions as input. Using the functionalities provided by the Web 3D Modelling component, a watertight CAD model of the footrest is automatically generated. This tool is based on scripting modelling that is able to drive the design of a 3D model, using a set of independent variables. In this case, these variables are the extracted dimensions presented in this paper. The footrest design is built in a way to be able to be automatically exported in a watertight 3D printable format, and pushed for manufacturing via AM by just receiving input from the DL toolkit. This can be done rapidly to provide different configurations of the footrest template and conform to a variety of patient characteristics (i.e. different shoe size, shape, etc.). An example of generated footrests can be seen in Figure 2.
4. Footrest Design Support
4.1. Overview
- Contours of a patients’ shoe are drawn on an A4 sheet on paper and photographed.
-
The model extracts the dimensions of an object using OpenCV (OpenCV is a computer vision library with which we can extract the dimensions of an Object from an image if a reference object with known dimensions exists in the image)
- Computer vision-based extraction of shoe length from an image
- Computer vision-based extraction of top shoe width from an image
- Computer vision-based extraction of bottom shoe width from an image
- It uses the dimensions found by OpenCV and feeds them into a ML-model, which predicts the anthropometric measurements of the patient’s shoe.
4.2. Computer Vision Component for the Footrest Design Support
- Length extractor: the length extractor is a function that fits a linear line to the contour, finds its intersections with the shoe contour and evaluates the pixel distance between the top and the bottom pixels. This value is then divided by the density of the image (Pixels Per Millimetre Square), which can be calculated when one considers the dimensions of the A4 sheet.
- The top width extraction crops the contours of the show using a minimum area rectangle. It then crops the top 30% of the resulting contour and then evaluated its width. This method has proven to be highly effective in that the estimations and the true labels correlated heavily.

- Bottom width extractor is the more complicated algorithm of the three; it draws a minimum area triangle around the shoe, which due to the shape of the shoe will always have a vertex underneath the shoe and two towards the upper parts. Due to the orientation of the triangle two of its edges will intersect with the circle forming the back part of the shoe. We draw a straight line from the lowest most point in the contour as a line that passed through there must necessarily form a constant function. Every three lines can form a circle, so we use the information we have about the three lines and evaluate the value of the diameter of the circle formed between them above the constant line. This diameter appears to correlate with the measured bottom width labels. The following graph depicts the process under consideration.

4.3. Deep Learning for the Footrest Design Support
5. Experiments
5.1. Data Overview
| (No. samples = 24) | length | Top width | Bottom width |
|---|---|---|---|
| Max | 275 mm | 110 mm | 85 mm |
| Min | 135 mm | 65 mm | 48 mm |
| Average | 216 mm | 86 mm | 64 mm |
| Median | 222 mm | 88 mm | 65 mm |
5.2. Data Structure

5.3. Data Collection Procedure
5.3.1. Basic Idea
- Place the shoe in the center of the A4 sheet
- trace the outline of the shoe around the sheet with a pen/marker
- Take an image of the outline or scan it
- Needed measurements: The top width, the bottom width and the length as shown in the picture.

5.3.2. Thing to take into account when taking the picture
| Example | Taken Image | Description |
|---|---|---|
| 1 | ![]() |
Scan image is perfect. The Shoe is placed up straight in the center of the image. It was taken with a scanning device, the lines are clean and visible. Name: img_174_75_60_t.png |
| 2 | ![]() |
Image is very good. The background shows a good contrast, the entire A4 sheet is visible and the shoe is properly marked. The shoe isn’t perfectly lit, but that’s okay. Name: example_276_115_88_f.jpg |
| 3 | ![]() |
Image is very good. The background shows a good contrast and the entire A4 sheet is visible. The lines were drawn with a pen. Name: example_276_115_88_f.jpg |
| 4 | ![]() |
The image is not good. We took this image with a noisy background. It interferes with the current implementation of the software. The image does have good lighting, which is good. |
| 5 | ![]() |
The image is not good. The drawing is great, but there is no contrast between A4 sheet and the white background. |
5.4. Performance

6. Declarations
7. Conclusion and Future Work
Acknowledgments
| 1 | |
| 2 | |
| 3 |
References
- https://www.ge.com/additive/additive-manufacturing.
- W. Gao, Y. Zhang, D. Ramanujan, K. Ramani, Y. Chen, C. B. Williams, C. C. L. Wang, Y. C. Shin, S. Zhang and P. D. Zavattieri, "The Status, Challenges, and Future of Additive Manufacturing in Engineering," Comput.-Aided Des., 69, p. 65–89, 2015. [CrossRef]
- https://emerj.com/.
- https://emerj.com/ai-sector-overviews/artificial-intelligence-applications-additive-manufacturing-3d-printing/.
- https://www.fortunebusinessinsights.com/industry-reports/3d-printing-market-101902.
- https://amfg.ai/2018/05/29/3d-printing-transforming-spare-parts-industry/.
- Z. Jin, Z. Zhang, K. Demir and G. X. Gu, “Machine learning for advanced additive manufacturing,” Matter, 3(5), pp. 1541-1556, 2020. [CrossRef]
- M. Fera, F. Fruggiero, A. Lambiase, R. Macchiaroli and V. Todisco, “A modified genetic algorithm for time and cost optimization of an additive manufacturing single-machine scheduling,” International Journal of Industrial Engineering Computations 9, pp. 423-438, 2018. [CrossRef]
- Y. Zhang, A. Bernard, R. Harik and K. Karunakaran, “Build orientation optimization for multi-part production in,” Journal of Intelligent Manufacturing volume 28, pp. 1393-1407, 2017.
- S. S. Razvi, P. Witherell and A. Narayanan, “A review of Machine Learning Applications in Additive Manufacturing,” ASME 2019 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, pp. S. Saadia Razvi, P. Witherell, A. Narayanan, “A review of Machine Learning Applications in Additive Manufacturing”, ASME 2019 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference, DOI: 10.1115/DETC, August 2019.
- D. B. Kim, P. Witherell, R. Lipman and S. C. Feng, "Streamlining the Additive Manufacturing Digital Spectrum: A Systems Approach," Addit. Manuf., 5, p. 20–30, 2015. [CrossRef]
- T. Wuest, D. Weimer, C. Irgens and K.-D. Thoben, “Machine Learning in Manufacturing: Advantages, Challenges, and Applications,” Prod. Manuf. Res., 4(1), p. 23–45, 2016.
- X. Yao, S. K. Moon and G. Bi, “A Hybrid Machine Learning Approach for Additive Manufacturing Design Feature Recommendation,” Rapid Prototyp. J., 23(6), p. 983–997, 2017. [CrossRef]
- C. Murphy, N. Meisel, T. W. Simpson and C. McComb, "Predicting Part Mass, Required Support Material, and Build Time via Autoencoded Voxel Patterns," 2018. [Online]. Available: engrxiv.org/8kne7. [Accessed July 2021].
- L. Di Angelo and P. Di Stefano, "A Neural Network-Based Build Time Estimator for Layer Manufactured Objects," Int. J. Adv. Manuf. Technol., 57(1–4), p. 215–224., 2011. [CrossRef]
- Adam: A Method for Stochastic Optimization https://arxiv.org/abs/1412.6980.
- https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.MinMaxScaler.html.
- The Kyklos 4.0 Project, Link: https://kyklos40project.eu/.








| Production Stage | Implemented Functions | Examples of ML techniques used |
|---|---|---|
| Design |
|
Hierarchical clustering, SVM, NNs, genetic algorithms |
| AM process and performance optimisation |
|
Self-organizing maps, Back propagation NN, Gaussian process regression, polynomial regression |
| IN-SITU process monitoring and control Post-process monitoring and control |
|
KNN, Bayesian classifier, PCA, SVM, Spectral CNN |
| Quality assessment |
|
KNN, Decision tree, Augmented layerwise spatial log Gaussian Cox process (ALS-LGCP) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).




