algorithmic modeling for Rhino
Is there a way to plug n-number of booleans into a gate and have it generate true if ANY of the values happen to be true? In other words, a 'boolean minority' (assuming true will always only occur once in a set), or you could look at it as a 'gate or' function with a variable number of inputs, instead of 2 or 3?
This seems like an obvious answer....all I'm trying to do is approve points that occur within any of a set of regions, but the number of regions is variable. I'm sure there's a workaround that culls false values, etc.; I was just wondering if there was a simple boolean solution.
Tags:
Nevermind. Use inputs as 1's and 0's, mass addition, set result to true if value is greater than 0. I'll leave this open, in case anyone has a better answer...
That is the best answer.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by