Combined axis jogging, following programmed shape instead of single axis