Blender Add-on Cookbook

by Michel's add-ons & more in Training

A cookbook for add-on developers who want to go one step further and want to add a professional
touch to their creations or want to add functionality that isn't so straight forward to implement.

This book offers more than 30 examples of practical issues you may encounter when developing Blender add-ons. It gives you practical solutions with fully documented code samples, offers insight and advice based on years of developing add-ons and is fully illustrated.

Each recipe also comes with links to relevant reference sites and Blender API sections, and each code snippet comes with a small example add-on that can be downloaded from GitHub so you can simply test the given examples and inspect them without the risk of typing errors.

The book contains a proper index and is available in PDF, ePub and Mobi formats.

You can download a PDF sample of the book the from my website:

 https://michelanders.nl/blender-add-on-cookbook/

Blender Add-on Cookbook

Table of contents

Introduction
Information
Adding an object to a scene
Selecting connected vertices
Add a modifier to an object
Add a vertex group to an object
Change vertex, edge and face properties
Change vertex, edge and face data layers
Create a Cycles material
Add a particle system to an object
Create a property selection drop down
Make a function available to pydrivers
Show a progress bar
Showing an info message
Show hints in an area header
Configuration parameters for add-ons
Defining shortcut keys
Use Numpy to accelerate vertex manipulation
Adding nodes to materials
Combining nodes into frames
Add an operator to a menu
Adding persistent properties to objects
Adding sub-menus to existing menus
Drawing using OpenGL
Using a panel to control a modal operator
Getting pixel values using OpenGL
Converting between world and object coordinates
Using kd-trees to speed up intersection tests
Converting 2d screen coordinates to 3d world coordinates
Converting 3d coordinates to 2d screen coordinates
Create a modal operator
Using pass through in a modal operator
Change the cursor in a modal operator
Package add-ons with more than one module
Bundling external assets with your add-on
Adding custom icons to menu entries
Window management in Blender
Creating a curve through objects
Parenting objects to curve vertices
Acknowledgments

Who is this book for?

This book is for add-on developers who want to go one step further and add a professional touch to their creations or want to add functionality that isn't so straightforward to implement.

You should have a good understanding of Python and have some knowledge of writing Blender add-ons already. This is a cookbook in the sense that it provides small pieces of code that are aimed at solving a particular problem but if you want a more general introduction you could consider my book Creating add-ons for Blender.

Which e-book formats are available?

PDF (formatted on B5 pages = approx. 176 x 250mm)

ePub (reflowable text. Open e-book format. Every e-reader in the world has it's own quirks but looks good on Calibre, Kobo and Google Play Books. Aldiko looks ok, but tends to squash images a bit.)

Mobi (reflowable text. Amazon proprietary format. Formatted for Kindle Fire or better)

Because of the many code snippets and illustrations this is probably not a book for reading on a small phone screen. I would recommend the PDF version.

How many pages does the book have?

Pages are not a very useful concept for reflowable e-books, but the PDF version is formatted for a paper size that is common for technical books and contains just over 160 pages of useful text (that is 160+ pages not counting introduction, acknowledgement, index, etc.)

Item Rating

This item has an average rating of 5 from 1 ratings by the community.

100%
0%
0%
0%
0%
  • Ad56d688bda28426e8bc7bcf1377391e

    peterhilgers about 2 months ago

    This is a wonderful book covering many useful topics. It is obvious that the author has a lot of experiences writing addons. The explanations are carefully developed and the book has a very good layout. I wish I could have had this book when I started to write addons.

Purchase this item to leave a review!