1. Home
  2. /
  3. Rhino-grasshopper-scripting
  4. /
  5. Rotate an Object

Rotate an Object - Rhino-grasshopper-scripting Typing CST Test

Loading…

Rotate an Object — Rhino-grasshopper-scripting Code

Rotates an object around a point by a given angle.

obj = rs.AddBox([[0,0,0],[10,0,0],[10,5,0],[0,5,0],[0,0,10],[10,0,10],[10,5,10],[0,5,10]])
center = rs.AddPoint(0,0,0)
rs.RotateObject(obj, center, 45)

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.

More Rhino-grasshopper-scripting Typing Exercises

Create a Point in RhinoCreate Multiple Points in LoopDraw a Line Between Two PointsDraw a CircleDraw a RectangleMove an ObjectScale an ObjectCreate a Loft Between Curves

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher