The Blender Scripting Cookbook is out – a collection of clear, concise and annotated recipes for the Blender Python API. Been working on this on and off for the past couple years now. I am glad to finally press that Publish button Gumroad.

main

I started working on this book mostly for myself – as a companion that I can refer to when building non-trivial things using the API. While Blender has an excellent API documentation, certain techniques and workflows are hard to discover just by reading it. Often, you need to dig into Blender’s source code or study existing addons to figure things out. This book is an effort to document those practical, but sometimes obscure solutions.

contents

The goal of each recipe is to give you just enough information to solve a problem quickly. When programming, most of the time we are looking for solutions in bits and pieces while tackling a larger problem. If I can express those bits and pieces clearly and concisely, I consider that a win. But for recipes where more context is helpful, I have included a Learn More section with detailed explanations, related recipes, relevant links, etc.

inside_1

inside_2

inside_3

inside_4

The book comes with a collection of more than a 100 blend files/scripts containing the final source code of the recipes. Everything is setup in such a way that it is easy for you run, test, modify, re-run and see the results, making it easy to follow along.

ui_1

ui_2

You can purchase the book on Gumroad. Get the free sample to check out the full Table of Contents – you also get 35+ recipes with corresponding blend files/scripts.

Use code BPY at checkout to get 30% discount.

I hope you find the book useful. I hope it becomes your go-to scripting companion.