Thanks to Rhino and Grasshopper’s official support of Python, you can programmatically access its powerful 3D modeling environment, including all the essential features of its advanced NURBS engine. This opens many exciting new possibilities, ranging from very simple to highly sophisticated, such as:
- Building simple scripts and tools that automate repetitive modeling tasks, boosting efficiency
- Developing and customizing powerful tools and workflow specific to your team’s needs
- Programming advanced design algorithms that are not possible with standard out-of-the-box tools
- Interfacing Rhino and Grasshopper with other software programs or programming libraries
We are happy to offer the upcoming training courses in Python Programming for Rhino/Grasshopper.
Level 1 course (3 days):
Requires basic understanding of Rhino and Grasshopper but no prior experience in programming.
- Basic Python language concepts such as variables, data types, conditional statements, for loops, functions. lists, tuples, etc.
- Using the Python scripting component in Grasshopper
- Intro to basic RhinoCommon data types such as point3D, Vector 3d, Plane, Line, Circle, and Colors
- Generating and using random numbers (e.g., for geometric design, analyses, simulation, etc.)
- Understanding the basics of the RhinoCommon documentation.
- Interacting with Rhino environment: e.g. baking geometries, working with Rhino object's properties (e.g., Layers, name, etc.), saving and opening files programmatically
Level 2 course (3 days):
Requires basic knowledge of Python programming in Rhino/Grasshopper, equivalent to the Level 1 course.
- Getting deeper into RhinoCommon geometries: Curves, Surfaces, Breps, Meshes (including mesh topology), Camera
- Object-oriented programming and better understanding of the RhinoCommon documentation
- Using the Python script component together with the Grasshopper timer for interesting advanced use cases
- Using Grasshopper DataTree from Python
- Best practices for organizing code for better reusability and shareability
- Using external modules/libraries
- Parallel Computation
- R-Tree for speeding up many computational geometry tasks
- Recursion, fractal geometries
- Web requests using Python
- Using an external Python code editor (to greatly increase productivity on large programs)
- Understanding C-Python and its benefits
- Intro to Rhino.Inside using C-Python
.png)



.png)











