View Post

Extruding meshes with Bmesh

In previous tutorials we looked into the basics of how to create mesh data to make new objects. Let’s shift gears and start abusing pre-existing meshes instead, today we will look at extrusions. I hope you haven’t forgotten how to use Bmesh! Let’s start with the usual: imports and some basic setup. import bpy import bmesh from mathutils import Vector …

View Post

Extracting subtitles with FFmpeg

FFMpeg is the swiss army knife of video editors and motion artists worldwide. Let’s take a look at one of the lesser-known (and kinda unexpected) features. FFmpeg can easily extract embedded subtitles from videos. This command will grab the default subtitle track and export it as a srt file: ffmpeg -i input_file out.srt What if we want to get a …

View Post

Using Blender’s filebrowser with Python

Every now and then an addon requires that the user selects a specific file or path. Sure, you could just give users a simple string input and let them copy/paste into it but how much cooler would it be to let them pick a file from the filebrowser? Luckily Blender provides a handy class that does almost everything for us. …

View Post

Left Click in Blender: Redux

Many, many moons ago I shared a keymap I was using to have left click (LMB) to select and perform most actions in Blender. No, I haven't changed my mind 🙂