For cylindrical workpieces, the gun is moved linearly along the workpiece axis while the workpiece is rotated on a lathe.