Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I'm relatively new to grasshopper. I wondering is it possible or what could be the logic to convert pattern like one on the image to simple:

 

false

false

false

true

 

I dont even know how to start. Any ideas?

 

Views: 138

Replies to This Discussion

The easiest way I know to do this is to pass the list through the mass addition component. Conveniently, when converted to numbers, falses evaluate to zero, and trues evaluate to one. You'll get the lists:

0

0

0

4

 

Passing such a list back into a boolean parameter will give you

false

false

false

true

 

Hope that helps!

Yeah it is very convenient) Worked perfectly for me. Thank you so much!

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