An unordered list in Grasshopper is often more useful if sorted and arranged in a logical manner. In this video, learn one method to sort geometry based on their x, y ,and z coordinates to work with the geometry in an ordered manner.
- [Instructor] In the last exercise, we took a large surface…and split it up into lots of little surfaces.…We didn't, however, check if those surfaces were ordered.…We left off with a list item node…to check if we had individual surfaces.…Let's plug a slider into this to see how the order appears.…So, let's double-click the left mouse button on the canvas…and write 20, Enter, and plug this into the I parameter.…
And then select that to highlight its output,…and let's just have a look through the order.…So it appears they're ordered in columns,…but not exactly along the direction of the surface.…Let's try sorting these panels by their position…in the x-axis and also along the y-axis,…so that they're arranged in rows.…So let's go ahead, and we'll place a new Python…component, and remove one of the inputs,…and we'll change the other one to panels,…which will be List Access,…and the type hint will be a type of surface.…
Then go ahead and plug these surfaces into the…panel's input, and double-click…to open the Python component up.…
- 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.