Transforming geometry in Grasshopper is a regular task to create and manipulate the forms we need. In this video, look at different ways to transform geometry in Python by accessing the Transform class in RhinoCommon.
- [Instructor] In the last video, we used the…transform object to scale our panels.…As transforming geometry is something that we regularly do…in Grasshopper, let's try a couple more…such as moving and rotating our panels,…which we can later use to generate some interesting forms.…Where we left off is with a list of scaled panels,…as we can see from the Python component output.…Let's continue on from this Python component…to perform some more transforms.…Go ahead and double-click to open it up.…
In the last exercise, we scaled the panel in H4 loop…and appended it to a list.…In this exercise, we'll be moving and rotating the surface.…Therefore, we need to copy the panel surface,…so that we still have a reference to the original panel…and its properties.…Let's have a look at the surface class…in the geometry namespace to see if there's a copy method.…There doesn't appear to be a copy method.…But if we scroll down a bit, there is a duplicate method.…Let's select that and then open parenthesis.…
This will work as it constructs a deep…
- Python components
- Accessing the Rhino API
- Python programming basics
- Importing modules and libraries
- Grasshopper workflows
- Evaluating surfaces
- Creating and splitting surfaces
- Transforming geometry
- Baking geometry from Python into Rhino
- Adding text objects
- Exporting rendered frames for animation
Skill Level Intermediate
1. Working with Python
2. Python Basics
3. Importing Modules and Libraries
4. Grasshopper Workflows
Next steps3m 53s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.