Equidistantly spacing a cylinder between 2 posts/bodies

Some pictures: