How to use the turning and milling functions of CNC lathes to machine complex workpieces