Moving buttons from the Quick Favorites menu to the user panel
Unfortunately, the developers have not yet provided access to the Quick Favorites menu via the Python API in Blender. However, it is possible to transfer the entire menu to the user panel. We can simply draw the Quick Favorites content on the user panel layout.
Moving buttons from the Quick Favorites menu to the user panelRead More »
Creating procedural brown granite material in Blender
Creating procedural brown granite material in Blender by Ryan King Art.
Where to download Blender source code for the required version
When working with the Blender API, it is sometimes useful to get “under the hood” and at least visually, in general, see how this or that section of the main program code is made. It is very easy to do this, since the Blender source code is open for study and modification by anyone, thanks to the GPL license.
Where to download Blender source code for the required versionRead More »
Finding the center of a polygon
To work with geometry in Blender using the Python API, it is often necessary to find the center point of a polygon. This may be necessary for organizing various bindings, aligning objects along a polygon, positioning, and in many other cases.
Creating procedural gold solar panels material in Blender
Creating procedural gold solar panels material in Blender by Ryan King Art.
The rotation matrix from one vector to another in 2D space
We may need to get the rotation matrix from one vector to another in 2D space, for example, when working with UV maps. This is often necessary to adjust one UV island to another.
The rotation matrix from one vector to another in 2D spaceRead More »
Sorting materials in material slots alphabetically
To sort the list of materials in the object’s material slots in Blender in the desired way, for example, alphabetically, we can use the function we created earlier to switch materials in material slots.
Sorting materials in material slots alphabeticallyRead More »