Three-dimensional locating of industrial parts