How to repair a broken mechanical part