algorithmic modeling for Rhino
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.
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by