Once our surface has been panelized, interesting forms can be created by experimenting with attractor functions. In this video, explore how to create our own attractor functions and use them on our surface.
- [Instructor] A common method of patterning for sides…is through the use of an attractor script.…This is achieved by scaling for side elements…based on their distance to an object,…or what we call an attractor.…Let's try creating our own attractor function…from within Python, which scales the surfaces…based on their distance to an attractor…which we'll use a point for.…To start, let's remove the list item components…and we'll place a new Python component.…
We'll change the x input for this to panels,…which will be a type of list…and a type of surface.…In the last video we sorted a list of surfaces…and output them from the output sortedP.…So let's plug that into the panels input.…Next, we're going to need a point…which will act as the attractor.…So working in Rhino, let's simply create a point…using the single point command.…
And as you can see, I've got Project selected…in the object snaps.…And then I'm gonna select somewhere near the surface…and this ensure that it's on the x, y plane.…So let's move it up in the zed axis a bit.…
- 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.