Rearrange points connections into lines with data lists

Hello there,
I am trying to get control of which points I can connect. For Example: 55to13, 41to27, 27to41, 13to55
48to6,34to20, 20to34, 6to48 etc.
They are two walls with the same data but one is inverted, I want to create horizontal links between the two almost identical walls, I extracted the points I needed but struggled to connect them in the right manner.
The lines should all look horizontally as drawn. Any tips on how I can achieve this? I appreciate any help you can provide.
Thanks!!!

Current Situation:


Aim:

GH File:
231206_3d-diagonal-panels.gh (171.8 KB)

Provide minimal data some plugins are not working for me …

1 Like

Uploaded the simplified GH file, see if this is okay. Many thanks anyway for your time mate!
231208_diagonal-panels_RhinoForum.gh (17.7 MB)


231208_diagonal-panels_RhinoForum-EDITED.gh (12.1 KB)

1 Like

Thank you Rajeev! This has helped alot.

Another option, you could sort the points before inputting to the Flow along surface clusters in your file (added 2 red groups). Then just use the outputs from the 2 Flow along surface clusters as inputs to a Line component.

Note: the Points input to the Sort Points component has an expression to round it to 6 decimal places to eliminate floating point noise (only rounded for sorting, no change to the actual point values).

231208_diagonal-panels_RhinoForum_re-01.gh (17.7 MB)

-Kevin

2 Likes

Hi Kevin, that also works well, thanks a lot!

Kevin