Analysis and synthesis of multi-axis sculptured surface machining