Draw a Rectangle - Rhino-grasshopper-scripting Typing CST Test
Loading…
Draw a Rectangle — Rhino-grasshopper-scripting Code
Draws a rectangle using corner points.
corner1 = rs.AddPoint(0,0,0)
corner2 = rs.AddPoint(10,5,0)
rect = rs.AddRectangle(rs.WorldXYPlane(), 10, 5)Rhino-grasshopper-scripting Language Guide
Rhino is a 3D modeling software widely used in architecture, product design, and industrial design. Grasshopper is its visual programming environment that allows parametric and algorithmic design. Scripting in Rhino/Grasshopper enables automation, customization, and complex parametric workflows.
Primary Use Cases
- ▸Parametric architectural modeling
- ▸Automated repetitive design tasks
- ▸Generative and algorithmic design
- ▸Digital fabrication workflows (CNC, 3D printing)
- ▸Custom plugins or tools for design teams
Notable Features
- ▸Node-based parametric visual programming
- ▸Direct access to Rhino geometry through scripts
- ▸Supports Python, C#, and VB.NET scripting
- ▸Real-time model updates
- ▸Integration with external plugins and APIs
Origin & Creator
Rhino was developed by Robert McNeel & Associates in the 1990s. Grasshopper was introduced as a visual programming plugin in 2007 by David Rutten to enable parametric design workflows.
Industrial Note
Rhino/Grasshopper scripting is niche but essential in architecture, product design, computational geometry, digital fabrication, and generative design projects where parametric modeling and automation save significant time.