Grasshopper

algorithmic modeling for Rhino

hi, 

i am trying to order division points around a triangle. the default i guess is for them to order by jumping back from one edge to the other. is there any way to order them so they work their way around the one edge of the triangle at a time? im trying to get ordering around the triangle continuous in one direction or the other. 

 

any help would be very much appreciated. many thanks!
joe  

Views: 411

Attachments:

Replies to This Discussion

Are they not already in the order you want? i.e starting at the curve start point and increasing in t as they go around
no, i guess because they are joined edges that make up the curve, the ordering is jumping back and forth across the triangle...
But that's as a result of the Sort Pt component that I can see in the bottom right, which is sorting them in the X direction
geez, sorry. thanks for noticing that. it was left over from when i was ordering them by side. stupid question. thanks!!
No problem. for future reference, if the points add come from some other process i.e. intersections then you could have used the Curve CP component to find where on the curve they came and sorted by the t value.

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service