Dunders in Blender II – Building an Expressive Syntax

Salai Vedha Viradhan writes:

Hi everyone,

I wrote a blog post, back in December, on building meaningful abstractions for the Blender API using arithmetic operators and context managers. I continued exploring some more ideas in that route. And this time, I tried something with the Blender’s node system.

If you are a Blender user who has never used the API, the first time you get acquainted with it, you’ll realize that the API has a lot of layers to it. And by layers I mean nested hierarchies that you’ll have to sift through to do the same things you do in the UI.

I was wondering if we can make API a bit more expressive and intuitive to use by writing custom wrappers around the existing one.

Read more here

Advertisement