Advertisement

You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

New Chapter of Scripting for Artists Released

0

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:

About the Author

Mario Hawat

Mario Hawat is a Lebanese 3D artist, writer, and musician currently based in Paris. He is a generalist with a special focus on environments, procedural and generative artworks. Open to freelance work.

Leave A Reply

To add a profile picture to your message, register your email address with Gravatar.com. To protect your email address, create an account on BlenderNation and log in when posting a message.

Advertisement

×