List Sorting

Hello everyone,

As you can see I have a very simple definition and I am trying to connect the points as the attached image. I am trying to make 4 lines connecting each side of points with an interpolate curve in order to create a vault.
I can not figure how to manipulate the list in order to create those lines.

Thank you for your time.

Alexandros

Vault.gh (8.1 KB)

Like this?


Vault_re.gh (10.4 KB)

Hello Kim,

Yes this is what I wanted.
Thank you very much.

Alexandros

Hello Kim,

I have another issue with list sorting. Can you please have a look at this?
I am trying to create interpolate curves from all the mesh vertices and the middle and top points of the object as shown in the image but I don’t manage to do the list work.
I would appreciate if you had a look.

Alexandros

droplet.gh (14.8 KB)

I’m not really sure if this is what you are looking for.

droplet_V2.gh (17.0 KB)

Hello Adam,

This is exactly what I am looking for but do you know why I get this result and not the same interpolate curves as you have?
I get straight lines.

Using the definitions I uploaded?

The key, as is often the case in GH, is matching the data. You just need to make sure each point you want to interpolate through is in the same list within the same data branch/path.

Thank you Adam.

I will try to make this work.