algorithmic modeling for Rhino
How can you expect an answer without posting any code?
Closest point to plane or surface or mesh ?
Then sort by distance.
But it looks like you just divided curves by n points, therefore flip matrix would do the job without sorting.
Thanks Petras.
Yes you are right indeed. The problem is a simplified the example too much.
In the code I've just posted, I added a random reduce (eliminating points), in which case, flip matrix wasn't useful.
And I sorted by angle, which is what I was trying to do.
Thanks for your help!
By retaining the original data tree structure (avoiding 'Flatten'), the original sequences are preserved so there is no need to sort anything. I've included my "Tree/List Viewer" tool in this copy (attached) that allows you to select branch (the 'path idx' slider) and item ('list idx' slider) so you can better visualize geometry results:
P.S. I just looked at your code again and noticed that some of the "columns" of points have zero at the bottom while others have zero at the top?
Hmmm...
Acutally after days thinking about it I just came up with the solution.
I post the code, in case it might be of interest to someone else.
That was really useful.
Thank you very much Joseph.
I appreciate your help.
Regards
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