Connect points on two diverging lines based on length with certain vector

Dear all,

I am looking for a way to connect points on two diverging lines based on a length parameter, in Z direction. Both diverging lines are above each other. When the length is changed, the points on each curve should move on the curve so their distance is the correct length again.

Can anyone help me?

Image and GH file are added.
test code2.gh (40.4 KB)

A vertical line of ‘x’ length between these two curves? Unless you consider only half their length, there will be two lines, not one.

That’s correct, in the example image I cut the curves in half, but I need it at both ends. Do you know how to do that?

Here is one way. Slider in yellow group is ‘Precision(lower value increases precision) and slider in blue group is 'x’, the length of the vertical blue lines.


vLines_2024Apr17a.gh (26.1 KB)

1 Like

Hi Joseph,

Thank you very much, this is exactly what I was looking for!