Closest Points

Hi All

Can any one help me with closest points please.

I have a list with 7 branches and one list with 1188 points that i want to search in each branch.

I can only get it to work with “Same length” branches if lengths differ it gets off.

I have attached script with interlized data for reference

Thanks in advance.

Regards

ClosestPointsNotworking.gh (30.1 KB)

I think you just don’t need to graft the C input on the closest point component.

2 Likes

Thanks for your time @martinsiegrist

I have tried this. Its giving me incorrect sorting. Only seam to get correct sorting if i use Graft.

But it only works if all branches are same length as soon lengths differ its sorts incorrectly gain.

Regards

it can’t give you correct sorting if you use graft, look what happens, relations are drawn as red lines :slight_smile:

and this is with non-grafted, each green point connected to its closest blue point

ClosestPointsNotworking_Re.gh (41.0 KB)

3 Likes

Which closest point do actually you need?

1 Like

What is the difference between Closest Point andPoint Cloud Closest Point?

The input is different.

Yeah, I’ve gathered that now by looking at Point Cloud Attributes.

I think I was mostly looking for an excuse to engage with inno since I haven’t seen him for a while :sweat_smile:

2 Likes

Good :zipper_mouth_face:

Thanks for your time again

I want all blue closest to Greens per each location

as per @inno

All want is to get all closest points to Intersection points

Regards

3 Likes