Construction and repair of machinery