Blender Studio
  • Films
  • Projects
  • Training
  • Characters
  • Tools
  • Blog
  • Join
  • BLENDER.ORG

    • Download

      Get the latest Blender, older versions, or experimental builds.

    • What's New

      Stay up-to-date with the new features in the latest Blender releases.

    LEARNING & RESOURCES

    • Blender Studio

      Access production assets and knowledge from the open movies.

    • Manual

      Documentation on the usage and features in Blender.

    DEVELOPMENT

    • Developers Blog

      Latest development updates, by Blender developers.

    • Documentation

      Guidelines, release notes and development docs.

    • Benchmark

      A platform to collect and share results of the Blender Benchmark.

    • Blender Conference

      The yearly event that brings the community together.

    DONATE

    • Development Fund

      Support core development with a monthly contribution.

    • One-time Donations

      Perform a single donation with more payment options available.

Training Highlights
Stylized Rendering with Brushstrokes
Geometry Nodes from Scratch
Procedural Shading Fundamentals
Stylized Character Workflow

Training types
Course Documentation Production Lesson Workshop

Training categories
Animation Geometry Nodes Lighting Rendering Rigging Shading
Film Highlights
Wing It!
2023
Charge
2022
Sprite Fright
2021
Spring
2019
Project Highlights
Project DogWalk
Interactive
Gold
Showcase
BCON24 Identity
Showcase
Fighting with Grease Pencil
Article
Course
Scripting for Artists
Blender Versions
Videos
  1. 01

    Introduction & copy-pasting

    Free
  2. 02

    Names & Objects

  3. 03

    Stuff on Lists

  4. 04

    Data Types

  5. 05

    Collections: Mass-Rename of Objects

  6. 06

    Blender Collections

    Free
  7. 07

    For vs. While

    Free
  8. 08

    Your Own Operator

    Free
  9. 09

    From Script to Add-on

    Free
  10. 10

    User Interfaces

    Free
  11. 11

    Custom Properties

    Free
  12. 12

    Asset Linking

    Free
  13. 13

    Roast my Add-on

    Free
  14. 14

    The Roast of Nature Clicker

    Free
  15. 15

    Modal Operators

    Free
  16. 16

    Readability & Understandability

Tech
  1. 01

    Updating F-Curves

  2. 02

    Render 10,000 OBJ files

  3. 03

    Mass-Rename Bones & Vertex Groups

  4. 04

    Rendering from 'all' angles

Sybren Stüvel
Sybren Stüvel Author
  • Free
Download English Subtitles
Download .mp4   135.9 MB
License CC-BY
Report Problem
Videos

The Roast of Nature Clicker

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

  • 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

Join to leave a comment.

3 comments
Enrique Gamez
Enrique Gamez
July 3rd, 2024

Sybren, this "roasting" concept was fabulous. As you can see, I'm reading this in 2024. It doesn't get old. Please do more of them!

Anže Orehek
Anže Orehek
June 25th, 2020

Did you import the Blender library in VSC or how come you don't get any error reports when using for example the "import bpy"

Edit: I made it work for me too. I followed this guide: https://b3d.interplanety.org/en/using-microsoft-visual-studio-code-as-external-ide-for-writing-blender-scripts-add-ons/

Sybren Stüvel
Sybren Stüvel
June 26th, 2020

*@Anže Orehek* I got no error reports because I didn't install anything smart. It's just showing syntax highlighting, nothing more.

Films Projects Training Blog Blender Studio for Teams
Pipeline and Tools
  • CloudRig
  • Blender Kitsu
  • Brushstroke Tools Add-on
  • Blender Studio Extensions
Characters
  • Mikassa
  • Whale
  • Ballan Wrasse
  • Snow
Studio
  • Terms & Conditions
  • Privacy Policy
  • Contact
  • Remixing Music
Blender Studio

The creators who share.

Artistic freedom starts with Blender The Free and Open Source 3D Creation Suite