Global adaptive slicing of NURBS based sculptured surface for minimum texture error in rapid prototyping