First I analyzed whether some existing models (e.g. arm23) could work if I replaced cylinders with ellipsoids. This seems to be possible. The wrapping part was very short however.
I started debugging the code; found that if the connection point between point1 and point2 does not go through the cylinder, then no wrapping takes place!
Original code:

Forcing point1 and point2 to be above and below the cylinder (which understandably always forces wrapping and which leaves the wrapping section of the first iteration constant throughout the simulation)

Geometric method:


First I analyzed whether some existing models (e.g. arm23) could work if I replaced cylinders with ellipsoids. This seems to be possible. The wrapping part was very short however.
I started debugging the code; found that if the connection point between point1 and point2 does not go through the cylinder, then no wrapping takes place!
Original code:

Forcing point1 and point2 to be above and below the cylinder (which understandably always forces wrapping and which leaves the wrapping section of the first iteration constant throughout the simulation)

Geometric method:
