Nc programming of mill turn lathes