Grasshopper

algorithmic modeling for Rhino

cull too close points from random points on a surface

Hi all,

I cant cull too close points (between them) from random points on a surface.

ive made distance between each point and the others and then a larger than component for culling the smallest distance but dont know how to finish! ive got 500 distances 500 times but just 500 points.

Any help?

cheers!!

Views: 3653

Replies to This Discussion

you can use Kangaroo's remove duplicate points component, defining a threshold value.
Hi, thakd for your replies. What im trying is to finish this definition:
Attachments:
What is it that stays? I think the logic might be a bit incorrect...you want to cull out the points which are less than 30 units apart, but from what? Maybe there are certain points which stay? You are saying that if a point has another point less than 30 units away, the get rid of it?
I think so, probably is incorrect. The idea was evaluate distance form each point with the others. So if i have 300 points i will have 300 times 300 distances. i want to cull in each of this 300 times and then put it everything again in one single list.

Make sense?
Is this close to what you are looking for?
Attachments:
Thank u so much for your file but is not what im looking for.

The idea is: evaluate distance between each point with the others. this means from one list of 300 points i will have 300 distances for each point. So after the distance component i will have 300 branches with 300 distances in each branch. I want to cull each branch and then keep all falses for one single brach( the original but now modified with all the falses)

cheers!
hmmm...
I think what i dont know is how to duplicate one branch into 300 more exactly the same as the original. If im able to duplicate the original branch i will have 300 points 300 times so i can go for the pattern cull component that now haves 300 times 300 true/falses..

Make sense?

Hey guys i really appreciate your time with this..

is GHcomponent    Vector/Point/ CullDuplicates(CullPts)    useful ?

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service