Learn RHINO-GRASSHOPPER-SCRIPTING with Real Code Examples
Updated Nov 27, 2025
Explain
Rhino provides precise NURBS-based 3D modeling.
Grasshopper allows node-based, visual programming for parametric models.
Scripting enables custom logic, automation, and integration.
Supports multiple scripting languages (Python, C#, VB.NET) within Rhino/Grasshopper.
Widely used in architecture, jewelry, product design, and digital fabrication.
Core Features
Geometry creation and manipulation (points, curves, surfaces, solids)
Data trees and parametric control in Grasshopper
Event-driven updates and triggers
Custom components and scripting in Grasshopper
Automation and batch processing via Rhino scripts
Basic Concepts Overview
Rhino geometry: points, curves, surfaces, solids
Grasshopper components and wires
Data trees: hierarchical data structures
Parameters and sliders for controlling geometry
Scripting nodes to manipulate geometry programmatically
Project Structure
Base Rhino file (.3dm)
Grasshopper definition (.gh)
Scripts folder for Python/C# components
Assets folder for textures, CAD files
Documentation and notes for parametric logic
Building Workflow
Model base geometry in Rhino
Create parametric definition in Grasshopper
Use sliders, toggles, and inputs to control design
Add scripting components for custom logic
Bake final geometry into Rhino for output or fabrication
Difficulty Use Cases
Beginner: simple parametric forms with sliders
Intermediate: basic automation using Python or C# scripts
Advanced: generative design and optimization loops
Expert: plugin development and batch automation
Architect: full-scale parametric building designs
Comparisons
Grasshopper vs Dynamo: GH more flexible for freeform geometry; Dynamo better for Revit integration
RhinoScript vs Python: RhinoScript legacy, Python more modern and versatile
GH scripting vs direct Rhino modeling: scripting allows parametric control and automation
GH vs CatScript: GH professional parametric modeling, CatScript for playful learning
GH vs Processing: GH for CAD/fab, Processing for creative coding and visualization
Versioning Timeline
1998 - Rhino initial release
2007 - Grasshopper introduced as plugin
2010 - GH gains wider adoption in architecture
2015 - Rhino 5/6 supports Python scripting natively
2020 - Rhino 7 introduces SubD and GH updates
2025 - Current parametric and scripting workflows mature
Glossary
Component - visual node in GH
Data Tree - hierarchical data structure in GH
Bake - convert parametric geometry to Rhino model
Parametric - geometry defined by variables and relationships
Grasshopper Definition (.gh) - saved parametric script