Process planning for the rapid machining of custom bone implants