Suzanne cookies by WarioGiant
Tag: Blender
Blender add-on «TimeMe» v. 1.4.0.
Blender add-on “TimeMe” v.1.4.0 update.
- Added custom directory for TimeMe autosaves to fix permissions problems
Blender 2.92 autocomplete
Blender Python API autocomplete modules: fake-bpy-modules by Nutti update – added branch for Blender 2.92.
Last release: 2021.03.04.
Author GitHub: https://github.com/nutti/fake-bpy-module
Only files (without pip installation) https://github.com/Korchy/blender_autocomplete
Features of using the scale matrix
To manipulate object transformations with matrices, Blender includes the “mathutils” module in which the “Matrix” class is defined. With this class, you can simply create the necessary transformation matrices – translation, rotation, and scale.
The following command is used to create a scale matrix:
1 2 3 |
from mathutils import Matrix scale_matrix = Matrix.Scale(SCALE_VALUE, MATRIX_SIZE, AXIS) |
Localization of Blender add-ons – with API
The classic way of localizing a Blender add-on (translating it into different languages) is convenient because requires just a single Blender Python API call – to get the currently used locale. This way is maximum universal, but Blender would not be Blender if it did not provide users an ability to localize add-ons through its own API.
The principle of creating multilingual add-ons using the Blender Python API is not much different from the classical one – we need to create a dictionary with all the variants of translations for all text strings from our add-on and use this dictionary in the localization.
Continue reading “Localization of Blender add-ons – with API”
How to get mesh data with modifiers
When referring to the mesh geometry – its vertices, edges, and polygons, Blender operates with the original data without the usage of modifiers added to the object.
For example, the number of vertices of the active object, we can get with the following command:
1 |
len(bpy.context.active_object.data.vertices) |
And it will be returned without considering the object’s Subdivision modifier, which modifies the mesh’s geometry, increasing it.
Hipster Suzanne
Hipster Suzanne by Miettinen Jesse
Blender add-on “Save Selected” v. 1.0.2.
Blender add-on “Save Selected” updated to v. 1.0.2.
- Add-on checked with Blender versions 2.83, 2.90, 2.92
- The minimum required version downgraded to 2.83
![]() |
Buy on Gumroad |
How to make an url button in Blender interface
In order to navigate to an URL-address from Blender – to open the required address in the browser, we can use the system operator “wm.url_open”.
To demonstrate this let’s create a simple tab in the N-panel with a single button, by clicking on which the required page will be opened in the browser.
Continue reading “How to make an url button in Blender interface”
Ginnyzanne
Ginnyzanne by Juan Carlos Montes
Blender add-on “Specification sheet” v. 1.1.0.
Blender add-on “Specification sheet” updated to v. 1.1.0.
- Added an option to add mesh statistics (number of vertices, polygons, triangles) to the specification list.
![]() |
Gumroad |
How to get scene data from the bpy.context
To have the access to the current context, for example, to work with operators, and to the scene data, for example, to work with meshes, we use two predefined structures from the Blender Python API: “bpy.context” and “bpy.data”.
For example, we can pass them to a function:
1 2 3 4 5 6 7 8 9 10 11 |
import bpy def my_func(context, scene_data): print(context, scene_data) my_func( context=bpy.context, scene_data=bpy.data ) # <bpy_struct, Context at 0x00000000050EF568> <bpy_struct, BlendData at 0x0000000007FA6408> |
However, in the “bpy.context” structure there is a “blend_data” pointer that links to the scene data. With this pointer, we can access scene data without passing it separately and explicitly.
1 2 3 4 5 6 7 8 9 10 |
import bpy def my_func(context): print(context, context.blend_data) my_func( context=bpy.context, ) # <bpy_struct, Context at 0x00000000050EF568> <bpy_struct, BlendData at 0x0000000007FA6408> |
Blender 2.83.13 LTS release
The Blender 2.83.13 LTS release is enabled for downloading on the official Blender site.
Blender add-on «TimeMe» v. 1.3.0.
Blender add-on “TimeMe” v.1.3.0 update.
- Added the “Pause – Resume” option to temporary pausing time counting.
How to deselect mesh vertices
In Blender, we can select and deselect mesh vertices through the “select” property for each vertex.
However, to deselect a vertex, it is not enough to set it’s “select” property to “False”
Splash screen for Blender 2.92
Blender Cloud has published a *.blend file with the splash screen for Blender 2.92. The file is available for free download.
The splash screen author is Joanna Kobierska.
The file is distributed under the CC-BY-SA license.
Blender add-on “Save Selected” v. 1.0.1.
Blender add-on “Save Selected” updated to v. 1.0.1.
- Added option to clean up startup file when saving
![]() |
Buy on Gumroad |
BPY plus – mesh module
A BPY plus module for working with mesh objects.
Localization of Blender add-ons – classical way
If you want your add-on to be available for all Blender users around the world, you need to make the localization – translation of its interface into different languages.
The simplest way to make your add-on multilingual is the classic way, it is used in many other programs and requires the minimal usage of the Blender Python API.
Continue reading “Localization of Blender add-ons – classical way”
Blender 2.92 official release
The Blender 2.92 release is enabled for downloading on the official Blender site.
Littlezanne
BPY plus – objects module
A BPY plus module to simplify work with 3D objects.
BPY plus – transform module
A BPY plus module for working with 3D object transformations.
BPY plus – bounding module
A BPY plus module for working with bounding objects.
BPY plus – about module
A BPY plus module with information about BPY plus itself.