Blender: The Roast of Nature Clicker | Scripting for Artists [14]

The Roast of Nature Clicker | Scripting for Artists [14]
The Roast of Nature Clicker. In this episode of Scripting for Artists, Sybren roasts another add-on. The focus is on simplifying code without altering what it does (too much), in order to avoid frying your brain while reading it.

The add-on can be found at https://github.com/OliverJPost/NatureClicker with its video at https://www.youtube.com/watch?v=_OmCKu4YLDw

00:00 Intro
01:08 To the Code
02:40 Panels & Mix-in Classes
05:45 Functions & Context usage
09:18 Accessing data by name (TL;DR: don’t)
12:50 Randomization
14:54 The Operator & splitting up code
16:13 Selecting a Random Object (but not that one)
17:15 Grow Code in One Direction
19:51 Conclusion

More Scripting for Artists: https://cloud.blender.org/p/scripting-for-artists

Support core Blender development – https://fund.blender.org

View on YouTube

Join the Discussion

Share your thoughts, ask a question, or tell us what you learned. Your first comment is reviewed before it appears. Once approved, future comments using the same name and email can appear directly, subject to spam checks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Fix the Blender logo

Drag the loose piece into the missing part. A close fit is enough.

Loading verification…

Keyboard: arrows to move, Shift for fine adjustment, Enter to check. Verification only; movement is not stored. Logo: Blender.