Cam software for machine tool programming