algorithmic modeling for Rhino
Try this:
It works on the assumption that the ends of your curves are going to be more or less regularly spaced out.
Thanks a lot! Danny!
It looks a bit complicated than I thought, I do tried flip,but it didn't work.
You have to identify which ones to flip. That's the summary of what this does.
1) Draw a polyline based on all the start points of you curves
2) Explode the polyline into segments
3) Measure the segments
4) If greater then Average length then Assume that the curve has changed direction from the one before.
5) Set a pattern of which side the "target" is set. (by this I mean if there is a series of curves that all need flipping then we have to account for this)
6) Set a 0s and 1s pattern for which curves to flip and which to leave
7) Dispatch
8) Flip or not
9) Merge
10) Ta Daaaaa
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