Making Your Own Python Components
Chris Mackey
GH Python Scripting Tutorial Schedule
Making Your Own Python Components
Today
Oct. 20th
AEC Software Development 101
Today
Oct. 27th
Today’s Schedule
1 - Where to Start / What you Need
3 - Hitting the Limits of Grasshopper (Flow Analysis Example)
4 - Extending Your Capabilities with GHPython
20 minutes
30 minutes
30 minutes
2 - Simple Example - Unit Converter Component
30 minutes
This Workshop is for You if...
You have knowledge of scripting / software development and you are looking to expand your work into Rhino / Grasshopper.
OR
This Workshop is for You if...
You have knowledge of scripting / software development and you are looking to expand your work into Rhino / Grasshopper.
You have knowledge of Rhino / Grasshopper and you are looking to get into scripting.
What You Need to Learn
What You Need to Learn
A Reference (Video Series or Book)
A Reference (Video Series or Book)
What You Need to Learn
A Reference (Video Series or Book)
What You Need to Learn
A Reference (Video Series or Book)
A Community
A Community
For Python (general coding) Questions
A Community
For Python (general coding) Questions
For Rhino / GH Questions
A Community
For Python (general coding) Questions
For Rhino / GH Questions
For Climate / Energy Modeling
Learn to Code by Example
What You Need to Learn
A Reference (Video Series or Book)
A Community
What You Need to Learn
A Reference (Video Series or Book)
A Project
A Community
A Project
Software is something that can really only be learned by applying it.
A Project
A Project
What You Need to Learn
A Reference (Video Series or Book)
A Project
A Community
What You Need to Learn
A Reference (Video Series or Book)
A Project
Persistence
A Community
“Any Computer Issue is Solve-able if You Keep Trying Different Things.”
“Any Computer Issue is Solve-able if You Keep Trying Different Things.”
What You Need to Learn
A Reference (Video Series or Book)
A Project
Persistence
A Community
“Any Computer Issue is Solve-able if You Keep Trying Different Things.”
GHPython
GHPython
Ladybug uses Python because:
(ie. object oriented programming)
GHPython
GHPython
Translates to
C#, VB, Python
Application Programming Interfaces (APIs)
aka. Software Development Kits (SDKs)
Application Programming Interfaces (APIs)
aka. Software Development Kits (SDKs)
A library of functions, objects, and protocols for building software and applications.
Application Programming Interfaces (APIs)
aka. Software Development Kits (SDKs)
A library of functions, objects, and protocols for building software and applications.
A good API makes it easier to develop a program by providing the building blocks.
RhinoCommon API
Ladybug API
Honeybee API