Multi-axisAdditiveManufacturing_DevelopmentofSlicerandToolpathforxDPrinting
Multi-axisAdditiveManufacturing_DevelopmentofSlicerandToolpathforxDPrinting
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2024 337
D. Pisla et al. (eds.), Advances in Service and Industrial Robotics, Mechanisms
and Machine Science 157, https://doi.org/10.1007/978-3-031-59257-7_34
338 G. L. Srinivas et al.
the system delivers the design of the geometries, simulates the toolpath, generates
the G-code, and prints models.
1 Introduction
2 Methodology
In this paper, three different printing strategies are used such as 2.5D, 3D, and 5D. In
2.5D and 3D printing, the nozzle follows the linear layers and iso curves respectively
and advances in perpendicularly upward direction. Whereas in 5D printing, nozzle
follows the iso curves and it is always normal to the curvature. The advantages and
disadvantages of the different printing strategies as well as types of 5-axis CNC
machine are provided in Fig. 1.
This section derives the forward and inverse kinematic equations for the HAGE
1750L machine, which has a serial RRPPP structure. It is a multi-axis CNC machine
used for printing filament or pellet material. It has a print volume of 1.2 × 1.2 × 1 m3
and 0.5 × 0.5 × 0.4 m3 for 3D and 5D printing, respectively. The machine has three
prismatic joints (x yz-axes), and a printing bed that rotates about z-axis (c-rotation)
mounted on tilting table that rotates about y-axis (b-rotation). The machine has rotary
axis offset in the z-direction ( f z ). The coordinate systems of the HAGE 1750L are
shown in Fig. 2. In short, the machine’s configuration is named xyzbc-trt (table rota-
tion/tilting) with rotary offset. The forward kinematics of the machine is calculated
by describing a relation between the printing bed (B) coordinate system and nozzle
340 G. L. Srinivas et al.
Fig. 1 Advantages and disadvantages of 2.5D, 3D, and 5D (types of 5-axis machine)
Fig. 2 a The printing bed (c-rotation) and tilting table (b-rotation) of HAGE 1750L. b Assignment
of coordinate systems of the machine from print bed (B) to nozzle (N) with prismatic and revolute
joints. c Location of the nozzle and its normal and position vector
first 3 × 3 matrix and last column vector represents the orientation and position of
the nozzle, respectively. The last column of (3) is the position vector p, and it can
be written in the matrix form for calculation of inverse form, as shown in (4). In the
following equations, si = sin(θi ) and ci = cos(θi ) hold for i = 4, 5.
B
NT = cB T · cF T · bF T · bN T (1)
⎡ ⎤ ⎡ ⎤ ⎡ ⎤ ⎡ ⎤
c4 −s4 0 0 1 0 0 0 c5 0 s5 0 1 0 0 d1
⎢ s c 0 0 ⎥ ⎢ 0 1 0 0⎥ ⎢ 0 1 0 0⎥ ⎢0 1 0 d2 ⎥
⎢ ⎥ ⎢ ⎥·⎢ ⎥·⎢ ⎥
N T = ⎣ 0 0 1 0⎦ · ⎣0
B 4 4
(2)
0 1 Fz ⎦ ⎣−s5 0 c5 0⎦ ⎣0 0 1 d3 − f z ⎦
0 0 01 0 0 0 1 0 0 0 1 0 0 0 1
⎡ ⎤
c4 c5 −s4 c4 s5 c4 c5 d1 − s4 d2 + c4 s5 d3 − c4 s5 f z
⎢s4 c5 c4 s4 s5 s4 c5 d1 + c4 d2 + s4 s5 d3 − s4 s5 f z ⎥
⎢ ⎥
N T = ⎣ −s
B
(3)
5 0 c5 −s5 d1 + c5 d3 − c5 f z + f z ⎦
0 0 0 1
⎡ ⎤ ⎡ ⎤ ⎡ ⎤ ⎡ ⎤
x c4 c5 −s4 c4 s5 c4 s5 f z d1 d1
⎢ y ⎥ ⎢s4 c5 c4 s4 s5 −s4 s5 f z ⎥ ⎢d2 ⎥ ⎢d2 ⎥
⎢ ⎥=⎢ ⎥·⎢ ⎥=D·⎢ ⎥ (4)
⎣ z ⎦ ⎣ −s5 0 c5 −c5 f z + f z ⎦ ⎣d3 ⎦ ⎣d3 ⎦
1 0 0 0 1 1 1
To compute the values of the prismatic joints d1 , . . . , d3 , we are using (4) and the
inverse of D. The final prismatic joint angles of the motors are given in (5), these are
used to reach the target position by the nozzle tip.
d1 = c4 c5 x + s4 c5 y − s5 z + s5 f z (5)
d2 = −s4 x + c4 y (6)
d3 = c4 s5 x + s4 s5 y + c5 z − c5 f z + f z (7)
The orientation of the extruder is computed using the normal vector k of the curve
at divided points as shown in Fig. 2c. The information of the normal vector can be
obtained from the perpendicular frames in Grasshopper. It is equivalent to the first
column of (3), and the rotation angles θ4 and θ5 are provided below.
The Grasshopper software is the visual scripting language used to develop the slicing
algorithm for generating the G-code. Grasshopper is a plugin that runs within the
Rhino CAD modeling software. Different printing strategies (2.5D, 3D, and 5D) are
demonstrated using a non-linear surface tubes such as star, ellipse, and hexagonal,
as shown in Fig. 3. In 2.5D and 3D printing, nozzle follows the linear layers, this
creates the seam at the corner of the object. Whereas in 5D printing, a ramp is created
to eliminate the seam and make the printing spiralize that results in uniform printing
thickness and avoids the retraction of the material [15].
The tubes are designed in the Rhino CAD software, the base and height of the all
geometries are approximately 50 and 100 mm, respectively. The base shape is created
by selecting its respective polygon and control point curve is shaped to extrude the
object using array curve in the software. The loft option is used to visualize the final
geometry by selecting the curves in the sequence of bottom to top. Later, the iso
curve functional block is used to create the nonlinear curves to mimic the geometry
curvature.
The slicer automatically generates the toolpath for imported geometry into Rhino
and the user can select the slicing parameters such as layer height, layer thickness,
nozzle size, etc. Initially, each layer of iso curves are divided into the required number
of points in the slicer and nozzle should follows the cartesian coordinates (x yz) and
a b c d
Fig. 3 Different non-linear surface tubes such as a hexagonal, b ellipse, c star, and d iso curves of
the star
Multi-axis AM: Slicer and Toolpath for 2.5D/3D/5D Printing 343
Control Cabinet
z y
b
c
x
Fig. 4 The HAGE 1750L machine with control unit and its coordinate systems
normal vector k. Using inverse kinematic equations as detailed in the Sect. 2, joint
parameter are derived as shown in (5) and (6). The flow rate is calculated in the
grasshopper based on the distance between the layers and the line segments [15].
Finally, the printer commands know as G-code is generated from the output of inverse
kinematics equations and flowrate. The code is saved as an MPF file and sent to the
HAGE 1750L machine for printing the models using tough PLA material from the
filament manufacturer Form Futura.
The structural strength of the models is examined using a Zwick Roell Z020 test-
ing machine. The experiment involves positioning the model between compression
plates, applying force using a movable crosshead connected to a 20 kN load cell.
The force is exerted until it decreases to 80% of its maximum value. A force versus
displacement graph is generated and compared among different printed models.
As detailed in the above section, the G-code generated from the slicer is imported to
the HAGE machine using external drive. The setup of the machine and its coordinate
system is shown in Fig. 4. The printer is controlled by the Siemens Sinumerik 840D
sl with positioning accuracy and print speed as 0.05 mm and 150 mm/s, respectively.
344 G. L. Srinivas et al.
2.5D 3D 5D
Fig. 5 Printed components (star, hexagonal, and ellipse) of 2.5D, 3D, and 5D
2500
Star 2.5D
2000 Star 3D
Applied Force / N
Star 5D
1000 Ellipse 5D
Hexa 2.5D
500 Hexa 3D
Hexa 5D
0
0 2 4 6 8
Displacement / mm
Fig. 6 Printed components (star, hexagonal, and ellipse) of 2.5D, 3D, and 5D
Structural strength: The compression test is conducted to find the structural strength
of the printed components using an universal testing machine (UTM). The average
applied force vs displacement graph is plotted for all test sample, as shown in Fig. 6.
The best maximum of average forces is recorded as 2292.2, 1033.9, and 1627.8 N for
Star 5D, Hexagonal 3D, and Ellipse 5D, respectively. The hexagonal models yield
unexpected findings, experiencing buckling during testing. The maximum value for
Hexa 3D is obtained post-component failure. Overall, the 5D printed components
shown good surface finish and structural strength compared to the 2.5D and 3D.
5 Conclusions
Traditional 3D printing builds parts layer-by-layer along the z-axis, resulting in weak
structures, longer printing times, and the need for support structures. Multi-axis 3D
printing addresses these issues, allowing diverse filament deposition for improved
mechanical characteristics, especially with anisotropic polymers. This paper pro-
posed conformal slicer and toolpath for the multi-axis printer using Rhino CAD and
Multi-axis AM: Slicer and Toolpath for 2.5D/3D/5D Printing 345
Grasshopper software. Initially, forward and inverse kinematics of the HAGE 1750L
machine are derived. The iso curves are generated for nonlinear printing to mimic
the geometric features and extrusion values are calculated using functional blocks in
the Grasshopper. Users can select the different printing strategies, slicer parameters
such as 2.5D, 3D, 5D, nozzle size, layer thickness, layer height etc. The slicer auto-
matically generates the toolpath and G-code for printing. Three different objects are
designed and printed to validate the proposed methodology. The compression test is
conducted to find the structural strength of the components using UTM. The average
force vs displacement graphs are plotted for all test samples. The 5D printing results
for star and ellipse are recorded 11.2 and 19.3% more compared to other printing
strategies. However, the results for ellipse 5D printing is not expected because it is
subjected to more buckling during the test. Overall, the proposed slicer is helpful
for multi-axis printing, and it is easy adoptable for other printers by changing its
kinematic equations.
Acknowledgements This research work was supported by the Federal Ministry for Digital and
Economic Affairs (BMDW) within the framework of “COIN Aufbau”, 8th call of the Austrian
Research Promotion Agency (FFG), iLEAD—project number 884136.
References
1. Anas, S., Khan, M.Y., Rafey, M., Faheem, K.: Concept of 5d printing technology and its
applicability in the healthcare industry. Mater. Today: Proc. 56, 1726–1732 (2022)
2. Fry, N.R., Richardson, R.C., Boyle, J.H.: Robotic additive manufacturing system for dynamic
build orientations. Rapid Prototyp. J. 26(4), 659–667 (2020)
3. Gardner, J., Nethercott-Garabet, T., Kaill, N., Campbell, R., Bingham, G.A., Engstrøm, D.,
Balc, N.: Aligning material extrusion direction with mechanical stress via 5-axis tool paths.
In: 2018 International Solid Freeform Fabrication Symposium. University of Texas at Austin
(2018)
4. Gul, J.Z., Sajid, M., Rehman, M.M., Siddiqui, G.U., Shah, I., Kim, K.H., Lee, J.W., Choi, K.H.:
3D printing for soft robotics–a review. Sci. Technol. Adv. Mater. 19(1), 243–262 (2018)
5. Gunpinar, E., Armanfar, A.: Helical5am: Five-axis parametrized helical additive manufactur-
ing. Journal of Materials Processing Technology 304, 117565 (2022)
6. Haleem, A., Javaid, M., Vaishya, R.: 5d printing and its expected applications in orthopaedics.
J. Clin. Orthopaed. Trauma 10(4), 809–810 (2019)
7. Kafle, A., Luis, E., Silwal, R., Pan, H.M., Shrestha, P.L., Bastola, A.K.: 3D/4D printing of poly-
mers: fused deposition modelling (FDM), selective laser sintering (SLS), and stereolithography
(SLA). Polymers 13(18), 3101 (2021)
8. Kaill, N., Campbell, R.I., Pradel, P., Bingham, G.: A comparative study between 3-axis and
5-axis additively manufactured samples and their ability to resist compressive loading. In: 2019
International Solid Freeform Fabrication Symposium. University of Texas at Austin (2019)
9. Kubalak, J.R., Wicks, A.L., Williams, C.B.: Exploring multi-axis material extrusion additive
manufacturing for improving mechanical properties of printed parts. Rapid Prototyp. J. 25(2),
356–362 (2018)
10. Lim, S., Buswell, R.A., Valentine, P.J., Piker, D., Austin, S.A., De Kestelier, X.: Modelling
curved-layered printing paths for fabricating large-scale construction components. Addit.
Manuf. 12, 216–230 (2016)
346 G. L. Srinivas et al.
11. Milewski, J.O., Lewis, G.K., Thoma, D., Keel, G., Nemec, R.B., Reinert, R.: Directed light
fabrication of a solid metal hemisphere using 5-axis powder deposition. J. Mater. Process.
Technol. 75(1–3), 165–172 (1998)
12. Mishra, S.B., Khan, M.S., Banerjee, D., Kumar, M.A.: Journey from 2d to 5d printing: a brief
review. Adv. Mechan. Ind. Eng. 95–101 (2022)
13. Ramos, B., Pinho, D., Martins, D., Vaz, A., Vicente, L.: Optimal 3d printing of complex objects
in a 5–axis printer. Optim. Eng. 1–32 (2022)
14. Shembekar, A.V., Yoon, Y.J., Kanyuck, A., Gupta, S.K.: Trajectory planning for conformal 3D
printing using non-planar layers. In: International Design Engineering Technical Conferences
and Computers and Information in Engineering Conference, vol. 51722. American Society of
Mechanical Engineers (2018)
15. Srinivas, G.L., Pawel, M., Marius, L., Faller, L.M., et al.: Supportless 5-axis 3d-printing and
conformal slicing: a simulation-based approach. In: 2023 24th International Conference on
Thermal, Mechanical and Multi-Physics Simulation and Experiments in Microelectronics and
Microsystems (EuroSimE), pp. 1–7. IEEE (2023)
16. Wu, R., Peng, H., Guimbretière, F., Marschner, S.: Printing arbitrary meshes with a 5DOF
wireframe printer. ACM Trans. Gr. (TOG) 35(4), 1–9 (2016)