This will start with a live demo of creating an add-on. I plan to present my whole workflow, from registering add-ons to creating operators, from implementing a user interface to the roller coaster of debugging (and how Blender makes this MUCH easier). And once the add-on is done, we will go over building it into a zip file for sharing, and testing it with pytest.

Additional time will go to the workshop, answer questions further, and do some live troubleshooting.
00:00 Intro
01:14 Getting started
02:17 Adding Script Directory
05:21 Registering Python file as an add-on with bl_info
10:01 Creating a panel
11:33 Blender’s native script reloader
12:26 Understanding the panel class
17:57 Adding operators to the panel
20:55 Drawing blend file properties + extracting UI code
25:46 Debugging within Blender
28:44 Creating a custom operator
33:32 Running bpy.ops within our operator
34:19 Troubleshooting UI confirmation
37:57 Sharing/zipping your add-on
39:40 How to find answers
40:43 Outro

Vastaa

Sähköpostiosoitettasi ei julkaista. Pakolliset kentät on merkitty *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>