Creating triangular grid from existing list of points

Hi guys!

I’m am fairly new to this, but I couldn’t find a topic similar to my situation.
So, I have a list of points (image 1). I need to connect them in pattern as shown on image 2


image

They are derived from the curves in two directions. Problem is, I had to flatten the curves lists in order to get section points. I have tried to sort them in trees later but still hadn’t come up with the solution. Does anyone have idea how to do this?

3. Attach minimal versions of all the relevant files