Rebar link problem

Select surfaces at both ends of your element (it should be easy since they have the smallest areas), create points in the middle with Surface.PointAtParameter (U and V to 0.5), join these 2 points with Line.ByStartPointEndPoint, and finally place your circles like shown in the post below (but probably using Curve.NormalAtParameter instead of Curve.TangentAtParameter):