Lawrence D'Oliveiro

Results 130 comments of Lawrence D'Oliveiro

Rerouting stdout seems like the way to go. That’s what I do in my [batch-mode scripts](https://github.com/ldo/render-useful/) (which could be rewritten more easily with Blender built as a Python module, but...

The answer is “Nassi-Shneiderman all the way”. That means no early returns. The thing with this pattern is, violations should stand out like a sore thumb and be easy to...

It’s an operator, just like any other Blender addon. Any operator can be invoked from the Python API. And Blender already has the ability to run in batch mode and...

What exactly is the problem?

Seems that what was called the “diameter” argument in these BMesh operators was in fact being interpreted as the radius all along, according to [this commit](https://git.blender.org/gitweb/gitweb.cgi/blender.git/commit/9b2b32a3338d873529a9b2c402feae4e9d25afdf). Which is why it...

Oddly, this particular item missed being mentioned in the [breaking changes](https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Python_API) to the Python API ...

I would say there is something wrong with your Blender installation -- it is missing a functioning OpenColorIO setup. Because “Raw” is [supposed to be a valid value](https://docs.blender.org/api/master/bpy.types.ColorManagedInputColorspaceSettings.html#bpy.types.ColorManagedInputColorspaceSettings.name) for that...

My policy with comments is they should explain _why_ you are doing something, rather than simply repeating _what_ the code is doing. For example, from [my version](https://github.com/ldo/blender_spaceship_generator): def define_tex_coords_common() :...

I fix this by using Generated coordinates in my version.