Local CNC machining