The script for chain

 From:  bemfarmer
6087.28 In reply to 6087.27 
Flow with stretch and rigid selected looks like it will work fairly well.
The links are not bent, but there is either more overlap, or else spacing, at
the hinge point. Another alternative is to shrink the length of each link a little.