Creating a hole-machining canned cycle