The Rhino document is the open Rhino file that we can view and bake Grasshopper geometry into. Before we can start baking, learn how to access this document along with other libraries and namespaces that are needed to bake geometry using Python.
- [Instructor] Geometry generated in Grasshopper…is eventually baked and stored within a Rhino file.…Using Python, we're able to bake geometry…and assign attributes including layout and object colors.…In order to do this, we need to be able to access…the Rhino document we're working in, and make some changes.…This is done through a few different namespaces.…The first is the Rhino.DocObjects namespace,…within here is where we can find all the object types,…that are found in the document,…so classes for breps, curves, and dimensions for example.…
These types differ to the types we've been working with…in the Rhino.Geometry namespace,…in that they have attributes attached to them…such as color, layer, and reference…to the underlying geometry types that make them.…So in order to bake, we first need to create…an attributes object and set it's properties…such as color and layer,…and then add our geometry to the document…along with these attributes.…So by accessing this namespace,…we can create object attribute objects…
- 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.