algorithmic modeling for Rhino
Hello every body , I am an intermediate user of GS and I have a question pretty urgent ! How can I sort a list of 3d points (meaning they are not on a surface) in terms of their Z dimension so as more the Z dimension is as higher or lower in my list?
Thank you in advance
Tags:
Hello,
I'm also a beginner but i'll try to help (I don't have the software right now so I can't join a picture/file, and not 100% of my advice).
You can create a "point" component to get all your points.
Then create a "deconstruct" component to get the XYZ coordinates of these points.
Then you can sort the Z coordinates with a "Sort List" component.
And with a right click you can choose to Reverse the list once it has been sorted, if you want to sort it in the other way.
I hope it will help.
I did that some time ago.
Points> bounding box (Union box)> split box sections in the Z axis > Explode tree> Points in breps> Dispatch (list = points)> merge all List A
With this order the points you get, I hope it helps you if you have any problems upload the definition and help you.
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
© 2024 Created by Scott Davidson. Powered by