Blender provides multiple tools and features that make it easy to build code that does what you want. Patrick shows you how to use tooltips and the info window to easily find the operators and properties you want. By using the tooltip command popups as well as the action history log of the info window, you are able to figure out how to do through code anything a user could do, without having to consult the blender API documents.
- [Narrator] Blender has many built-in capabilities…which make it very convenient to create…custom scripts with it.…To start off with, we are going to delete this cube,…use Shift + A to then add a Monkey,…and then zoom in further on our subject.…Then, if we press T to make sure the Tool tab…window is open, and then press Smooth…to smooth out the monkey.…If we instead hover over this button, we can see…a tooltip popup which describes what this button does…or what this operator does, as well as the Python path…to this operator.…
If you don't see this tooltip popup, simply go into…the File menu, User Preferences, Interface,…then make sure Python Tooltips…as well as Tooltips are enabled.…Let's say we want to go further and actually modify…to smooth the geometry of this mesh as well.…We change over to the scripting layout,…zoom in to our monkey a little bit farther,…and reposition it, then drag over this property window.…We then select the modifier tab with this monkey selected,…and then from the Add Modifier dropdown…
AuthorPatrick W. Crawford
- Controlling Blender with code
- Exploring the bpy library
- Creating Blender operators and properties
- Writing scripts
- Auto running scripts
- Drawing interface elements such as panels and menus
- Building a custom add-on
Skill Level Intermediate
1. Controlling Blender through Code
2. Create Blender Scripts
3. Customize Blender Interfaces
4. Build Your Own Add-On
Next steps1m 15s
- 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.