Expert CNC machining