for measuring features or for detecting a condition of machine parts, tools or workpieces