Demystifying Add-ons: A Workshop - Spencer Magnusson

preview_player
Показать описание
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
34:19 Troubleshooting UI confirmation
37:57 Sharing/zipping your add-on
39:40 How to find answers
40:43 Outro
Рекомендации по теме
Комментарии
Автор

Damn searching with "bpy" is such a good idea ... gotta remember that! 😎🤠

stevengoodman
Автор

Nice start, I will be watching it in stages and looking forward to learning some new tips. Thanks Spencer!

MarkBTomlinson
Автор

35:23 ☝We must be curious indeed! Thanks for rerecording this!

sergiom