Grasshopper

algorithmic modeling for Rhino

yesterday I found myself with a little problem using operators on grasshopper, 

I had a tree with more than 60 branches and I needed to make an OR operator on all of them, because time issues, I solved it by doing pair by pair and descending by the different levels as in the attached image. but for future similar problems, can anyone help me to solve this in a more efficient way?, right now I'm not able to realize how to solve it, and it look like its pretty simple..... :(

Views: 324

Attachments:

Replies to This Discussion

If you zoom in on the OR component, you can add additional inputs. So at least you can replace your network of ORs with a single one.

However when comparing large amounts of boolean values, it is usually easier to treat them as integers (false=0, true=1) and use mass addition to see how many of them were true or false. If the sum-total equals zero, then all values were false. If the sum-total equals the number of values, then all values were true, etc.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service