algorithmic modeling for Rhino
You could try to sort your points first, use the "Sort Along Curve" tool. This should give you a pointlist that has the right order.
If the Rectangle is a Curve that you can reference in GH then you can use the Sort along Curve component.
Otherwise you can create a circle at the centre of your points (Average them) use the CPCurve component to get the parameter "t" to sort with synchronously.
A more detailed explanation is found here along with other 2d sorting routines: http://www.grasshopper3d.com/forum/topics/how-can-i-sort-in-two-dim...
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