Python pull point to curve

I am trying to pull a point to a offset of a curve, but I cannot make it work. What am I doing wrong?

I think it is because of that the offset are guides, but I do not know how to make a normal curve out of that.

Thanks in advance for your response.

20190117 pull point to offset (6.7 KB)

Hi ForestOwl

The return of rs.OffsetCurve is one polyline, but rs.JoinCurve requires more than two curves.

if you want to pull point to curve, you need use rs.CurveClosetPoint and rs.EvaluateCurve because input of rs.PullPoint is only surface and mesh.
you don’t need to use rs.JoinCurve this case.

Please check atteched file.

20190118 pull point to offset (9.0 KB)

1 Like