Bicycle chain plugin - food for rhino

Perhaps this old thread will give you some ideas?