algorithmic modeling for Rhino
Hi all,
I'm struggling with this problem of organising (or sorting) a series of lines counter-clockwise (or clockwise, it doesn't matter). I checked some previous discussions but I just can't manage to make it work for what I want.
So I've tried to sort first the points instead of the lines with the component " Sort Along Curve" and I sorted the middle point of each line, so now I have the new order of indices that sort the points in a counter-clockwise manner. And I want to sort the lines in similar way using the new indices generated, but I can't. I tried the "Replace Items" component but for some reason is not sorting them in the correct way. (Previous to the Sort along curve step both, lines and middle point are order in the same way).
Any ideas of how to use the new indices to sort the list of curves?
Thanks,
Martha
Tags:
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