algorithmic modeling for Rhino

Explanation of a simple method to get a list from a Python Component into Grasshopper.

Views: 207


You need to be a member of Grasshopper to add comments!

Join Grasshopper

Comment by Jake Hebbert on September 13, 2013 at 2:25pm

Thanks for pointing out itertools.chain. It looks like it would be useful in certain situations. It seems to me that you would lose the organization of your nests though.  Which may or may not be desirable.  

Comment by Jesus Galvez on September 12, 2013 at 2:18pm

Nice trick. Alternatively you couldn't you just use itertools.chain and flatten it all in python?

Comment by djordje on September 11, 2013 at 2:47pm

Quite useful Jake!
Hope you will share some other stuff about Python too.





  • Add Photos
  • View All

© 2020   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service