Rhino.Python Guides
Overview
Getting Started
- Your First Python Script in Rhino (Windows, Mac, Grasshopper)
- Where to get help…
- Troubleshooting Installation
- Developer samples on GitHub
- Scripting discussions on Discourse
Python Editor
Python in Grasshopper
Fundamentals
- Python Basic Syntax
- Python Procedures
- Python Data Types
- Python Variables
- Python Conditionals
- Python Looping
- Python Operators
- Python Code Conventions
- Python Dictionaries
Python in Rhino
- RhinoScriptSyntax in Python
- Points in Python
- List of Points in Python
- Colors in Python
- Lines in Python
- Vectors in Python
- Planes in Python
- Rhino objects in Python
- Point and Vector Methods
- Line and Plane Methods
- Rhino NURBS Geometry Overview
Other Resources
Rhino.Python 101
Introduction
Where to find help
1. What’s it all about?
2. Python Essentials
3. Script Anatomy
4. Operators and Functions
5. Conditional Execution
6. Tuples, Lists, and Dictionaries
7. Classes
8. Geometry
Download the Rhino.Python 101 Primer as a single PDF
Intermediate
- How to read and write a simple file
- Code-Driven File IO
- How to read and write a CSV files
- How to use JSON
- Using Python Dictionary as a database
- How to get user input in a script
- Creating a script and module
- APIs Available to Python
- Module Libraries in Python
- Using Python Packages
- Calling Overloaded Methods from Python
- Generating Random Numbers in Python
- Providing Arguments for By-Reference Parameters