Just got started with Python in Grasshopper

Hello, everyone.

I’d like to learn Python, but am not sure if I should invest my time. I’m an architecture student.

What are the reasons you are using Python in Grasshopper?

I don’t use Python, but I do use C# and RS. I mainly use scripting languages because I find it is a better use of my time for certain problems than trying to bend the existing components and data structures against their nature for a given result. I can just write something that tears apart the tree, shuffles it around, and then outputs exactly what I want.

Another benefit to scripting is that the grasshopper environment lacks the ability to complete complex iterative tasks that require loops. It’s also way easier to do decision trees.

I can’t tell you whether it would be worth it to learn python for your work. I think the answer is probably not, it’s always felt like a tool that I reach for when I’m getting frustrated with the limits of grasshopper’s control flow and it’s probably a better idea to figure out what those limits are and gravitate to it naturally.

As looking from the standpoint of my field of study, I can’t imagine the situation where I would need to use the Python.

Also, as I haven’t reached anything near to saying that I’ve touched the limits of grasshopper, so it must be inefficient to handle such a tool as Python and try to adapt to the field of study I am in.

Thank you for your insights.

It’s a great idea to use a programming language in tandem with Grasshopper, but the problem with Rhino’s onboard Python is that it’s frozen at version 2.7, which has become very obsolete. Although I dislike the aesthetics of C#, and I use Python for a lot of other things, if someone were asking what programming language to learn for use in Rhino, I have to say that C# is the better choice now.

1 Like

This is not the case with the upcoming Version 8 of Rhino. You can test it now with the V8-WIP.



<3 great to know!

1 Like