Join Jeremy Graham for an in-depth discussion in this video Animating renders, part of Grasshopper and Rhino: Python Scripting.
- [Instructor] Great, so we have our file path,…lets start rendering.…We should start by checking if the go input…on the component is true,…which we can do with an if statement, so if go,…and if go is true, then we want to hit render.…To do that, we need to basically run a command in Rhino,…which we can do through the RhinoScript syntax library.…The command function within this library,…is a way to run commands,…as we would in the command line in Rhino.…This function is simply, Command, and then as the parameter…we use a string, which is the command we would use in Rhino.…
So lets write Render and close parenthesis.…We can prefix this command with an underscore.…This will ensure that the English version…of the command runs, in case different languages…change the command name.…So lets put underscore in front of R, perfect.…So this function will run the render command in Rhino.…If we were to run this command in Rhino,…the Render window would open up, which will also happen…when we run the command from Python.…
So next, like we would in Rhino, lets save the Render.…
- 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.