A simple and generic CAD/CAM approach for AFM probe-based machining