3-wire thread measuring