logo

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

time5 yr agoview16 views

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

Loading comments...