Grasshopper

algorithmic modeling for Rhino

In this definition I test a single number for inclusion in 4 domains. If it tests true in one of the domains, it will display the corresponding string. It works, but seems awkward and complicated for sch a simple idea. Is there a way to simplify this with fewer components?

thank you

Views: 875

Replies to This Discussion

The [Find Domain] component will return the index of the domain that contains the value, and also the nearest domain in case none of the domains contain the value:

--

David Rutten

david@mcneel.com

Hi Rustboy,

You did everything correctly. Just let grasshopper data matching to shorten the definition a bit

Attachments:

thanks David, Djordje - much cleaner solutions!

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