Extending vectors to curves

Hello, tried to find a solution here but had no luck, so maybe someone could help me with this script.
What I want to do is to extend vectors, that are normal to points that I got from the curve. And then I need to extent those vectors to both sides of cuves. (green arrow).

Tried to extend it and find intersection points, but it’s no good because if I change dimmensions of curves, it fails, because lenght of vector does not change automatically, and some curves that I need have different lenght.

Also if I extend curves too great, there are points on the other side of curve. Splitting with regions did not work also.

Any ideas?

Laiptų scriptas.gh (21.6 KB)

IVRay (IsoVist Ray) is very helpful in applications like this:

Laiptų scriptas_2020May18a.gh (19.9 KB)

Different approach same result: Laiptų scriptas_ME.gh (22.8 KB)

Thank you! Both answers are GOLD!