Getting horizontal interpolated lines from random order points

I’ve learning how to sort points in closed surface or curves In this case is just one segment, I can get one reference to sort by line in fact is what I want to create, the points are located in random values I was thinking I could reoder by z direction but I have not very clear how to do it. :v:

horizontal lines.gh (22.0 KB)

Hi.
This could be a way, BTW…
You keep posting bad datas in terms of the sequence similar to this one, but frankly, this kind of post processing work would be unnecessary.
Is there any reason why your point grid data is not well organized from the first place?

horizontal lines_re.gh (28.5 KB)

1 Like

another approach, and indeed as HS_Kim said, too much unnecessary work.

180225_horizontal lines_ev.gh (23.7 KB)

1 Like

Thanks guys I´ve been creating some panels with intersections so maybe when I split all the data suffer changes.

I changed the intersections points and your script @ErickVasquez show error: 1. You must supply at least one point

horizontal lines_ev.gh (20.1 KB)

The script from @HS_Kim with no problems

Check this out…

horizontal lines_reV2.gh (17.1 KB)

2 Likes

my brain has exploded :sweat_smile:, I want to be like you :love_you_gesture:

look at the wires, you need to flatten the points…

1 Like

OHHH VERY NICE APPROACHES HERE :alien: