Automatic Generation of NC Tapes for Machining Tools