Surface finish machining optimization for 3D print