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)

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.