Blender add-on development: overlays and user preferences

There are new videos available in the video series on Blender add-on developments for beginners:

 

It is completely free and has a GitHub repository with code .

In this module we will build an add-on that will show the distances between objects as lines and labels in an overlay. The first video will discuss draw handlers, while the other videos will make use of them to create a complete add-on, one that also includes user preferences to choose line color and font size.

The serie is for beginner add-on developers, but it is still coding of course, so you need to know a bit of Python already. I have tried to keep the Python code simple and readable, and we avoid nerdy stuff as much as possible.

The videos demonstrate how to build working add-ons from scratch.  They are not necessarily very useful in and of themselves, but they show all kinds of relevant concepts and building blocks that are needed in any add-on, and that can be used in your own add-ons. By the end of the first module you should already be able to create an add-on that creates a functional menu item that performs an action on the active object. And even better, you will see that this requires only a few lines of code because Blender's Python API is very well thought out and very powerful: everything you can do as a user can be done in Python as well (and more!), and links to relevant parts of the docs are provided in the video descriptions.

If you like the series and can afford it, consider leaving me a tip on Ko-Fi. Feedback and suggestions are just as welcome, so leave any remarks or ideas in the video comments and/or create an issue in the repository. The idea is to use this feedback to create more videos in the future.


No comments:

Post a Comment