Design of rope drives