Recently I decided to write an algorithm that draws the path of a chain (like a bike chain) as it runs around a set of cogs. Cogs can have any position and radius. However, they must be listed in clockwise order. I've just got it working and i want to post some pictures for your delectation.
I'll post the code at some point (VB.Net).
8 cogs, 3 of them anticlockwise rotation (detected automatically by the alg)...





Reply With Quote