1 Introduction

The treatment of forearm fractures involves immobilizing the limb for about 3 to 4 weeks. The limb is usually immobilized mainly with plaster cast and rarely with splints or braces which can be uncomfortable, particularly during the summer. Patient satisfaction using plaster cast is poor [1] due to the physical characteristics of this old medical device. To overcome this drawback, the use of computer-aided design (CAD) and 3D printing technology to produce personalized plastic casts, have been largely proposed [1,2,3,4,5] increasing the public awareness in the clinical use of these low cost and widely available technologies.

The advantage of these devices is largely recognized in reducing discomforts in the use of the arm due to the lightweight and removability, as well as giving benefits in daily living activities of patients (especially for frail people) allowing ventilation inside the cast and the possibility of a normal hygiene due to the waterproof nature of the plastic used materials. This enhances patient satisfaction levels [6,7,8].

Previous studies have demonstrated the feasibility of the clinical use of orthopaedic personalized 3D printed cast for the treatment of forearm fractures in paediatric patients [5]. Thus, in daily clinical activities, it is necessary to implement a production phase compliant with time required by clinical course, less than 24/36 h from trauma.

Actually, real clinical application of this innovative devices is limited due to both the difficulties for medical practitioners to scan and produce anatomical models [1] as well as the time required to produce cast in a time useful to be provided in daily clinical use (up to 35 h [4]).

At the best of our knowledge, in current literature there are reference to practical implementation of Digitized Splinting Process (DSP) neither in clinical practices nor in industrial applications [1, 2]. Moreover no one has still faced the problem of traceability of the final product, as suggested both from FDA [9], ISO [10] and innovative industrial process [11, 12] in a qualified medical device manufacturing.

Actually, most of methodologies described in literature neither guarantee the achievement of a standardized workflow to be applied for industrial or clinical daily applications nor allow an easily usable, verified and scalable production framework [1, 2, 13,14,15,16,17].

Technical studies [15, 16] reports few examples. [3] introduce a workflow based on a manual procedure and [1, 2] design an automatic or semiautomatic procedure.

In [5] is showed the implementation of a production line inside a hospital even if slow and fully empirical. The aim of this work was to develop, a semi-automatic workflow for the fused deposition modelling (FDM) 3D–printed orthopaedic casts to be introduced according to [9,10,11] both in clinical and in industrial environment to promote the real use of this innovative medical device.

The study is focused on two main aspects: time saving and compliance with recognized standard to implement a quality system.

2 Materials and methods

2.1 Clinical background

Distal radius fracture (wrist fracture without complication) management usually includes immobilization with plaster cast, splint, or molded synthetic material cast to immobilize the injured upper extremity [18, 19]. A normal course of the treatment includes the application of an immobilizer and follow-up of 4–5 weeks [19,20,21]. Maintaining plaster cast clean and dry is difficult and the risk of infection increases. Poor ventilation and an improper fit also cause discomfort and complications such as cutaneous diseases, bone and joint injuries, or malunion [15, 15, 19, 22]. As a matter of facts, the rate of cast-related complications published is high with up to 31% being reported in published studies [23].

As said, first clinical experience [5] demonstrated the feasibility of treatment of paediatric patients, affected by greenstick fracture of forearm, with 3D printed orthosis. Each cast was designed manually by an expert “user”, starting from a 3D scan of the limb. During this study the cast design and manufacturing required up to 24 h. This represented a limit to introduce this new device in the clinical course.

In the following are reported the improvements in the production process for 3D printed cast, compared to the original (manual) approach [5], which led to a semi-automatic procedure and a traceable workflow in order to obtain a qualified medical device.

2.2 Scan procedure

Data acquisition is the first step of DSP. The quality and accuracy of the scan of the patient’s affected limb plays a critical role in determining the success rate of the split model subsequently designed.

In the feasibility study 3D scan of the arm is obtained with a low-cost scanner like the 3D Systems® Sense® with depth resolution of 0.5 mm sufficient for subsequent elaborations with the best cost-performance ratio. It remains the same from its initial definition even improved with practical tricks. A written procedure which includes mandatory features and tips. In this phase scan precautions such as medium intensity white light (like during a cloudy day), white walls room, proper scan resolution setting, thumb outstretched and right palm orientation have been introduced. The patient must be placed sit with the injured arm raised, fingers fixed with finger trap at rod.

As recommended by FDA [9], anthropometric parameters, e.g., circumference length, hand, wrist and elbow, must be measured with a tape measure and reported in a proper form in order to mitigate possible measurement errors and to verify the goodness of the scanning process. The final procedure accept scan with less than ± 3 mm difference between the real arm measurements results. The 3D model which is exported as a mesh in.obj format.

2.3 Manual procedure and improvement requirements

All the choices about design were arbitrary and model specific, and also difficult to report. The design process required about two hours. The cast were designed to immobilize the wrist from the hand to the elbow, leaving the fingers and thumb free. Original manual procedure from [5] consisted of several steps (Fig. 1), deep knowledge of CAD software (SW) (i.e. Rhinoceros ®) and great interaction with the user. As in column A of Fig. 1, all unnecessary parts (arm, fingers and thumb) must be removed (Fig. 1-A.1). All the possible holes and defects were also removed using the Fill Holes command (Fig. 1-A.2). The surface was enlarged with an offset of 0.5 mm (Fig. 1-A.4) to create a distance from the skin. Then the volume of the cast was created with a thickness of 4 mm using the Shell command (Fig. 1-A.5). Thus, cast was divided in two parts by a plane (Fig. 1-A.6). The holes pattern was created manually by Boolean subtraction with several cylinders (Fig. 1-A.7). Internal and external closing stops were added (Fig. 1-A.8). Then, the two shells were arbitrarily rotated of about 25° in order to optimize the supports and reduce printing time.

Fig. 1
figure 1

General processing Workflow: A Manual procedure; B Semi-automatic procedure

Furthermore, the reconstruction of the surface, punch holes distribution and the alignment of the closing stops are carried out each time. Thus, process traceability, designing times, CAD operations, and production time are uncertain.

2.4 Design of semiautomatic procedure and user interface

The semiautomatic procedure has been developed in Grasshopper®, a Rhinoceros® plug-in. Grasshopper ®, is a graphic programming SW that implements the Rhinoceros® functionalities within its working environment, allowing to create programs in the form of operational sequences of single blocks.

In Grasshopper® the user acts on a window containing alphanumeric input/output, Boolean switch, number slider, knobs, Boolean operators, etc. to realize algorithmic sequences. The developed algorithm acts simultaneously on a second graphical interface in the Rhinoceros® workspace.

Moving in this new workspace the manual intuitive phases must be converted in a flow chart of subsequent operation. To this the workflow from Fig. 1.A moves to that reported in Fig. 1.B to exploit Rhinoceros ® tools capabilities.

Moreover, in order to obtain a robust and traceable process, the whole procedure, including post processing and testing (not treated in this paper) are referred to Technical Considerations for Additive Manufactured Medical Devices from FDA [9]. (Fig. 2) Besides, Fig. 3 introduces the user interface in Grasshopper®, where the correspondence to the different phases from Fig. 1.B are highlighted in Unified Modelling Language (UML) activity diagram (Fig. 4). where the different phases are reported into the pools with the pool containing the actions required to the user.

Fig. 2
figure 2

Technical Considerations for Additive Manufactured Medical Devices main workflow from [9]. Red box put in evidence the phases covered by the semiautomatic procedure

Fig. 3
figure 3

Grasshopper® User Interface. Blocks refers from a to d to Fig. 1B; Number Slider in green boxes, Toggle switch in red boxes

Fig. 4
figure 4

Full Grasshopper® processing UML: description of activities sequence in Grasshopper

Following a user-oriented approach, all functional blocks are hidden to user and will be duly described in the next sections. This interface allows also to less-experienced users to produce a functional cast. Furthermore, each parameter defined by user during the process is stored in the program and saved in a report file, generated together with the cast file at the end of processing. This is for the traceability of the process [12].

2.5 Grasshopper® workflow

The design procedure (Fig. 4) shows the user pool, and the related actions with other pools according to Fig. 1.B.

The user, after a preliminary opening the scan file in Rhinoceros® and the raw extraction of the arm from the whole acquired scan, uses cutting planes and Boolean split command.

Then the user (Fig. 4, Pool u) defines the patient ID and the destination folder of processing in the two yellow Panel on the (top of Fig. 3) and the mesh is uploaded in Grasshopper®.

The user must interact with few Number Sliders and activate the section through Toggle switch.

Even some actions in this phase remain manually performed by user, Grasshopper® offers both a reduction time and a fully repeatability.

In the following are exploited the activities performed by the SW according to the UML diagram (Fig. 4) including the interactions with user (Pool u).

2.5.1 Pool. a: Orientation

The use of a procedural algorithm requires to fix the origin of the workspace in which the cast must be developed. This is performed in two steps: a fully automatic pre-orientation and a manual fine adjustment. Figure 3a reports the panels used in this phase whereas Fig. 5 shows the correspondent Rhinoceros® workspace.

Fig. 5
figure 5

Preorientation Rhinoceros panel: On upper side (in red) the original mesh of the forearm randomly oriented; on lower side (in green) the mesh oriented and the referenced XY plane

2.5.1.1 Pre-orientation algorithm

The pre-orientation algorithm computes the reference plane using the Principal Component Analysis (PCA) on the cloud composed of the vertices of the mesh (Pool a.1). The reference plane is then used as base plane for the Orient block, while the XY plane of Rhinoceros® workspace is used as destination.

The Deconstruct mesh block is used to extract the point cloud from the mesh.

PCA computes the principal components of a dataset to perform a change of basis. The point cloud is assumed as the dataset and the first two eigenvectors of covariance matrix represent the two main axis of the reference plane of the mesh (Pool a.2). Eventually the mesh is oriented using Orient block (Pool a.3).

2.5.1.2 Orientation adjustment

The pre-orientation algorithm works only on geometrical features of the mesh; thus, the user must fine adjust the orientation specially to centre thumb (next step). The adjustment (Pool u.3) is performed using 6 Number sliders (Fig. 3a) 3 for rotation and 3 for translation.

2.5.2 Pool. b: Thumb cut

Thumb recognition allows creating the hole for the patient’s thumb, and fixing its position for the subsequent processing steps. It is a critical step for final patient comfort. The user places a cutting plane through the thumb volume. The dimension and position of the plane are set via 5 number sliders (Fig. 3b) that define respectively plane width, position along X and Y axis and XY and XZ rotation. Figure 6 shows the final positioning of cutting plane activated with toggle switch (Pool u.5) of the panel to pass to the next step.

Fig. 6
figure 6

Thumb cut plane positioning

With reference to Fig. 3 in (Table 1) the time saved in the above-described phases are reported and compared with manual procedure from [5].

Table 1 Pre-processing phases timing comparison (ref. Fig. 1).

Moreover, it is to put in evidence that all set are recorded in the file record of the device in order to retreat the XYZ distribution of the cast in the case of fail (total or partially) of successive phases (see later on).

2.5.3 Pool. c: Cast surface reconstruction

Last interaction for the creation of the cast volume surface requires to cut the mesh at start and end point of the cast. Then, an offset between inner cast surface and patient skin must be introduced due to patient different muscular tone according to anthropometric measurements acquired during the scan session (Fig. 3c).

After that, the surface reconstruction is demanded to the SW procedure.

The SW generates different sections each 5 mm (Pool c.1) avoiding bad acquisition volumes where the reconstructed sections are < 50 mm and algebraic sections using 32 points and a third-grade polynomial imposing an offset from the skin as defined by the user (Pool c.2).

Then the inner cast surface and the outer with 4 mm offset from the first (Pool c.3) are produced. The surfaces are joined to create a CAD volume and divided in two shells. The user can compare the generated volume with the scanned mesh to check the fitting and patient comfort (Fig. 7).

Fig. 7
figure 7

Cast surface reconstruction and comparison with acquired volume

2.5.4 Pool. d: Cast generation algorithm

After the activation of last Toggle switch from Fig. 3.d, the rest of process do not require any user interaction.

SW executes three phases from the first manual process: Holes pattern definition, Internal and external closing points positioning and Print orientation (as from Fig. 1.A) which are here grouped in a single block (as from Fig. 1B) described in the following.

2.5.4.1 Pool d.1: Holes pattern definition

Shell is considered as a grill of holes (rectangular in the first approach) (Fig. 8a).

Fig. 8
figure 8

Holes pattern: A Starting squared grid; B Circular holes

Surfaces to be pierced are defined imposing minimal hole distance of: (i) 8 mm from lateral edge of the shell and (ii) 15 mm from shell’s end point. The distance between holes is imposed almost 4 mm. Due to the characteristic of Grasshoper®, hole pattern is obtained testing the distribution along the shells of 10–22 mm diameter (step 1 mm) holes with the above mechanical constrains.

The goal is to maximize the open section of the device. Then the rectangles are converted in ellipses (Fig. 8b).

It is to put in evidence that the constrains of this section include mechanical properties of the material. Such parameters are from mechanical study not reported here and from practical experience.

2.5.4.2 Pool d.3: Internal and external closing points

Fasteners (Fig. 9B) and internal stops (Fig. 9C) are required to guarantee a good stability during use. The first ones have a standard dimension and are positioned along the border curves in standard intervals computed according to the length of the device. Internal stops are pin-hole couple inserted to follows the border shape avoiding intersection between the hollow part and the external surface.

Fig. 9
figure 9

Upper shell fully assembled: A—label slot; B—fastener; C—Pin-hole detail

All these operations are SW performed (Pool d.4).

A slot is added for the label application to refer the device (Pool d.2).

2.5.4.3 Pool d.5: Print orientation

The two shell’s models are oriented horizontally with an angle of 50° on YZ plane to ensure the best performance in terms of material consuming, preservation of internal stops and printing time saving. (See later).

Then the shells are moved on the XY plane and their orientation, according to YZ plane is correct to minimize supports volume. After checking the model, it is possible to save the models and the report file. The cast model is kept and stored in.stl format as recommended by considerations of FDA [9]. In the Fig. 10 an example of automatic model placing is reported. The table below (Table.2, 3) shows timing comparison with manual procedure as from [5] using the same notation from Fig. 1.

Fig. 10
figure 10

Automatic print orientation algorithm result

Table 2 Processing phases design timing comparison
Table 3 Slicing orientation simulations for one shell

2.6 Print setting and time saved in printing

After design the real bottleneck for clinical use of this innovative devices is printing time. Actually, printing is the most expensive part in terms of time, and a good optimization must be directed towards both piece orientation and printing settings. A good orientation has to provide the reduction of support material and printing time and ensure piece strength. Different authors proposed several algorithms for orientation optimization [16, 24], but this is not the purpose of this work. We choose an iterative method comparing time and support material usage, between various orientation. As shown in Fig. 11, we chose the horizontal direction as the main direction, then we found the best angle for each shell, performing simulation every 10°, using Ideamaker ® slicer. Other improvements affect printing setting, above all the enlargement of nozzle from standard 0.4 to 0.8 mm and set the layer height to 0.4 mm, which after several test does not show any notable losing of resolution. The material used is Zortrax Z-UltraT, while printing parameters are: number of loops = 3; infill = 5%; support overhang angle = 45°; support infill ratio = 10%; raft type = grid; bed temperature: 95 °C; nozzle temperature = 245 °C; printing speed = 55 mm/s.

Fig. 11
figure 11

Printing main direction

In Table 3 there are presented the results of slicing simulations for a single shell. On the left there are the simulations for the 0.4 mm nozzle and on the right the 0.8 mm nozzle. Among these simulations, we choose 50° orientation that according our experience could be adapted to any case, both for timing and for print success, because more convenient angles for timing could lead to printing inaccuracies.

Table 4 Overall process time saved

3 Results

Starting from the 3D scan of the hand-wrist-arm, the proposed procedure is presented as a workflow to produce personalized cast. The final orthopaedic device is composed of two halves. Fixation components on the specific external regions of both shells ensure fastening.

As previously introduced, the main result is the time saving against the manual one experimented in [5]. Elsewhere is reported these needs [1] even using a less user-friendly interface. The introduction of programmed modules which explain each part of the process, reduces both the user operation allowing the utilization of the SW also to medical practitioner with few hours training, and the general time of cast production allowing the production of several casts in less time. Moreover, a correct orientation and nozzle enlargement could decrease the printing time up to 12 h maintaining mechanical characteristic of medical device even an increasing of used added material.

Table 4 shows the overall time saved phase by phase. Pre-processing and processing time, showed in the previous Tables 1 and 2, were converted from minutes to hours to match with printing time dimension.

This procedure overcomes the critical issues related to the time between the data acquisition and the installation of cast due to design and printing time, and the poor level of reproducibility of a manual CAD processing.

4 Discussion and comparison

The introduction of a workflow designed to meet requirements of an industrial approach is crucial to transfer the results of research into daily clinical practice. This requires the definition of a robust workflow [1] and the creation of a user-friendly graphical interface [2].

The procedure here presented allows to reduce elaboration and production time (about 12 h–95% for design and 55% for printing), and to increase the traceability of the process and the device. The use of Grasshopper® plug-in allows several advantages as save time, static production process, increase the repeatability, give more control and traceability on the process, etc. However, remain some crucial points solved with a light interaction by the user through simple number sliders and toggle switch.

The process so defined was able to produce a cast with length of 25 cm, in about 10 h, with a low-cost FDM printer, easy to use and maintain.

Even the paper is focused on production workflow and stops at print, the entire process (including material control, post processing and final testing) is compliant with standard guide lines for 3D [10, 12]. The scan report, measurement check, the final report of design phase file is returned by the semiautomatic procedure to be inserted in the technical file of the device. These reports (and the entire workflow) respect the traceability principle of up-to-date rules [11] in force from May 26th 2021 for CE mark of medical devices.

5 Conclusion

Starting from clinical experience [5, 13] the final aim of the present work was to develop a systematic procedure for the CAD modelling process for the production of 3D patient-specific orthosis useful in clinical course to be extended other 3D clinical applications. At moment, this procedure allows to

  1. 1.

    Transfer the entire process in the clinical practice at the Unit of Orthopaedic at Santobono- Pausilipon Paediatrics Hospital and test it for production of several devices for the treatment of fractures especially in emergency.

  2. 2.

    Build up a controlled and verified industrial production line aimed to the production of 3D printed patient specific and adaptable medical devices for orthopaedics and other medical applications according to [10].