New Chapter of Scripting for Artists Released

Blender developer and python codemaster Sybren Stüvel has released a new chapter of his much-loved Scripting for Artists course on the Blender Cloud. This chapter marks the 16th entry in this venerable series, which started in August 2017 with Blender 2.78.

Sybren had released chapters 6 to 15 publically during the pandemic confinement period, and they are still available on the Blender youtube channel and the Blender Cloud.

This latest chapter was made using the Blender 3.0 Alpha, and deals with the issue of improving the readability and understandability of Python code. Here are the time-codes for the video for a glimpse into its contents:

  • 00:00 Intro
  • 01:12 Investigating the Camera Background Image panel code
  • 02:31 Splitting the code that handles an image into a function
  • 05:30 A little analysis of the loop
  • 06:11 Splitting up the code further into functions
  • 07:44 The has_bg mystery and the final flattening
  • 13:55 Cognitive Complexity
  • 15:00 Conclusion

Check out the video on the Blender Cloud on the link below:

Advertisement