The development and implementation of a reverse engineering method for near net shape parts