Skip to content

Instantly share code, notes, and snippets.

@AndersDeleuran
Created August 8, 2016 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndersDeleuran/95ef9fd3773c9b92a6c57652b56d1dcb to your computer and use it in GitHub Desktop.
Save AndersDeleuran/95ef9fd3773c9b92a6c57652b56d1dcb to your computer and use it in GitHub Desktop.
""" Read the Grasshopper Datatree "tree" and translates it to
a nested Python list """
pyList = [list(b) for b in tree.Branches]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment