algorithmic modeling for Rhino
Hello. I'm absolutely new to grasshopper, so sorry if this is a really simple question, but I Want to import a list of values and convert them into binary, represented with 1s and 0s, and use this list as a series of true-false statements. But I'm having issues converting the list to binary. I have a clunky solution at the moment, but it limits me to values of 511. It will likely work for the purposes I plan to use it for, but what would be a more foolproof way of going about this
Tags:
It's tricky, would you settle for a solution using C# code?
C# solution attached.
 binary formatter.gh, 6 KB
 binary formatter.gh, 6 KB                            Wow, that was fast and much more elegant! Thank you so much!
 Integer to Binary.gh, 14 KB
 Integer to Binary.gh, 14 KB                            While I think you're right that David's script is more practical, I'll definitely comb through this just for the learning potential. Thanks, Andrew!
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
    © 2025               Created by Scott Davidson.             
    Powered by
    