The process of ensuring that the Z-axis is perpendicular to the build platform or workpiece in a 3D printer or CNC machine.