algorithmic modeling for Rhino
Hello,
I've found this method to select points by proximity here:
http://www.grasshopper3d.com/forum/topics/closest-point-sorting-see...
I'm trying to use it to obtain the two closes points fro every point of the first list, but the result is always "null". Can anyone tell me what is the problem?
The next step will be draw an arch between every group of 3 points, in order to have a profile made of arches.
In the attachment the files.
Tags:
Can't open the code at the moment but think your after Closest Points component, that did not exist when the thread you linked to was created. This will let you input point to seach from, points to search and number of closest points to find.
Hi Claudia,
I think this is what you are after. You forgot to put the points that you want to sort in the A-input. Also you should try to keep your Rhino-model much cleaner, it contains a lot of duplicate points. Therefore I used the 'Cull Duplicate' component, though still not all arcs look pretty.
The fact is that these points are the results of previous operations on grasshopper, but I've posted only the baked points to make the situation more clear.
Your solution is fine, I need to find a better path to obtain the starting points...that are still wrong in my definition..... Thank you!
The way you get the points is very important in this case. It could be as easy as reading through the list, connecting points: 0-1-2, 2-3-4, 4-5-6, 6-7-0. If there are two lists, it would just require merging/weaving the lists together correctly first, then going through it in order.
Could you modify your diagram to explain how the list of points (or two lists of points) are ordered?
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by