To start off, you will first look at blender Panels. These are the mostly static windows that make up the various parts of blender's gray-background interface. In this video Patrick shows the structure required to create a custom panel.
- [Narrator] Now let's dive into actually creating…and running our own Blender custom panels.…To do this, make sure you open Blender with a console.…From here, I'm going to go to the scripting window layout.…And then I'm going to create a new custom script…and name it my_custom_panel.py.…Then I'm going to drag this window…over so I can see a bit more.…As a reminder, in Blender,…a panel is a persistent window or pane…that can be moved around in the interface.…
Such as the render panel over here.…Within it, we define the draw functions.…It essentially contains the user interface elements…such as buttons, properties, and lists,…and then also defines how they appear in what layout.…Going back to the text editor window,…we can actually look at how a panel is structured…inside of blender.…First of course we have the import bpy module,…and then we will have a section where we define the class…of the panel, and then we'll have a section…for where we register the panel to blender.…
The panel class is essentially…what actually defines the panel…
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.