3 ms·
It’s pretty easy to follow. I’ve been learning Blender over the last month but not delved too deeply into the Python api yet. That source code is really straigh
by aidos 6y ago
It’s pretty easy to follow. I’ve been learning Blender over the last month but not delved too deeply into the Python api yet. That source code is really straightforward though. There are 2 parts, the bootstrapping where you tell Blender how to add your tool to the interface, and then the generation code that builds the mesh etc.
More complex is understanding the Blender model. Best thing to do is go through something like Blender Gurus donut tutorial. It’s intimidating to start with, but once you know the model you can find your way around and then you start getting into more of the techniques.
As a bonus, it has a vim-like interface. So you can do “r x 90” To rotate the selected object 90 degrees about the x axis.