Grasshopper

algorithmic modeling for Rhino

I have 2 lists of points - one is around 1600 long, the other 6. I want to measure the distance from the 1600 to the closest point from the list of 6. 

So far I've only managed to get the distance from all 1600 to all 6, but not limit the distance to only the closest point. 

Any ideas?

Views: 651

Replies to This Discussion

hi attached a C# script for you

Attachments:

Firstly, thank you very much for your time, but that only outputs 6 distances? Thats basically the closest point command already in GH?

oh, forgot to mention. output A are the closest points from your cluster

A only outputs 6 points from the 1600 point list.. 

oh, sorry. you want the closest of the 6 points, i just got it haha. the method i use is to take the average of the sum from the distances. hope this works 

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service