Grasshopper

algorithmic modeling for Rhino

Hello, quick question: 

When dividing a line with the divide command, how can I sort the resulting list in so that the points on the ends of the line are seperated from the ones along the line? 

Views: 467

Replies to This Discussion

Sorting will keep all values in the same list, it sounds like what you want is to break your original list of division points into two; one features only the first and last point, the other featuring all the interior points.

There must be something wrong with my brain today, I couldn't think of an easier way to do it than this:

But I'm sure there must be some way to achieve this cleanly without having to treat numbers as textual characters.

Attachments:

Another attempt using "Set Difference".

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service