algorithmic modeling for Rhino
Hello !
I would like to sort my curves from bottom to top and from left to right in order to optimize the work of my machine 3axes (woodworking). I can sort them from bottom to top but to sort from left to right, I think I need to create lists according to Y, but the "create set" component does not seem to work well. Could you help me?
Thank you
Pierre
(excuse my bad english)
Tags:
Create Set won't help you, because none of your points are the same. Therefore they will all end up in the set. Also, sets do not have meaningful ordering to begin with, they are unordered data structures that can only contain a specific value once.
You can use Sort, but your sorting key must be some combination of X and Y. Since you want to order along X first, you can 'amplify' the importance of that direction.
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