You can join Blender Studio for €11.50/month and get access to all of our training & film content instantly!Login Join Blender Studio
28th May 2021info License: CC-BY
Sometimes it can be tricky to get the computer to do exactly what you want, and it's a great victory when things finally work. It's tempting to move on to the next task at hand, but often it's better to look back and improve some things.
In this episode Sybren shows some techniques to reorganise code, with the aim of improving the readability & understandability.
has_bgmystery and the final flattening
This video was made using Blender 3.0 alpha.
Join to comment publicly.
Miguel Ángel Pedreño Sánchez
4th June 2021 - 10:58
Very interesting and useful video. I'll put this in practise with my addons/scripts ^^ thank you again, Sybren
Oliver J Post
11th June 2021 - 21:31
Thanks! Applying these tips and tricks right away!
30th June 2021 - 21:08
Cool! +1 for this type of content. Entertaining and useful
8th August 2021 - 11:05
I followed along & edited the code in 3.0 Alpha ... It works perfectly (I back up the original ;0)... I'v gotta say, that was the best python tutorial in refactoring I have ever see in two score years. Well played Dr. Stüvel.
Sybren A. Stüvel
7th October 2021 - 10:25
@Steven Goodman Thank you so much!
30th October 2021 - 17:45
I've just finished all 20 videos and I must say as someone who has been developing software professionally since 1973 this is the best introduction to a programming language for non-developers that I've ever seen. That alone is a difficult accomplishment but to also set the introduction in the context of a fairly complex domain, blender/bpy, is a serious achievement. Well done.
Sybren A. Stüvel
2nd November 2021 - 21:00
@Marty Fouts Thank you so much!