Grasshopper

algorithmic modeling for Rhino

Hi all,

Feeling a little rusty and wondered if someone has a quick pointer on how to do this. I am creating a bunch of curve intersections which yield a list of one or more points. I wish to pick the lowest of all the points. Obviously if there is only one point.... easy, but its when I don't know how many points to expect that things get hard!

Best wishes to all for the holidays and for 2016!

Tom.

Views: 174

Replies to This Discussion

Simplest solution:

  1. Decompose the points
  2. Sort the Z values and sort the original points synchronously (i.e. plug the original points into the second slot of the Sort component).
  3. Then extract the first item in the sorted point list.

Hi David,

Thank you for the prompt response. Much appreciated - and solved my problem instantly!

Tom.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service