Blender
Geometry Nodes – make an object follow a curve
We can make a mesh move along a curve in Blender using Geometry Nodes. Let’s take a simple example of how to do this.
Blender 3.0.1 release
The Blender 3.0.1 release is now enabled for downloading on the official Blender site.
The release is corrective, no new features were added, only bug fixes.
90 issues were fixed in this version.
Blender add-on “Freeze Transform” v. 1.0.1
Blender add-on Freeze Transform updated to v. 1.0.1.
- Added keymap for main add-on functions
- ctrl+shift+f – for “Freeze Transform”
- ctrl+alt+f – for “To Frozen”
How to get all possible EnumProperty values for function parameters
When passing an EnumProperty value to the function parameters, just like with direct assignment, we must always specify the value from the constant list exactly, otherwise, Blender will throw an error.
For example, specifying an icon for a button in the UI we pass the text identifier to the “icon” parameter of the “layout.operator” function.
1 2 3 4 5 |
self.layout.operator( "mesh.primitive_cube_add", icon='ICON', text="" ) |
If it is not correct, Blender throws an error:
TypeError: UILayout.operator(): error with keyword argument “icon” – enum “ICON” not found in (‘NONE’, ‘QUESTION’, ‘ERROR’,…)
How to get all possible EnumProperty values for function parametersRead More »
Hiding node groups from menu and search results
When we create complex shaders in Blender, consisting of a large number of node groups, the menu for adding new nodes to the material gets clogged up very quickly. In a long list of node groups, it becomes difficult to find the one we need, and even a search does not always save the day. The list of node groups in the menu can be reduced by hiding unnecessary node group names from it.
Blender add-on “Instances Colorizer” v. 1.1.0
Blender add-on Instances Colorizer updated to v. 1.1.0.
- Added instances colorization for curves and text objects
Creating the same UI panels in different Blender areas with no code duplication
To create several identical UI panels with the same set of fields and buttons in different areas in Blender, the easiest way is to copy the panel code and replace the parameters that determine in which area the panel will be shown.
The main disadvantage of this method is code duplication, which can make difficulties in the future – when editing panels, changes must be made to each copy of the code, instead of changing it at once for all panels.
Creating the same UI panels in different Blender areas with no code duplicationRead More »
Creating a hidden operator
Sometimes it is necessary to register an operator that couldn’t be called by the user directly. For example, if this operator is supposed to be called only by another operator after a series of checks or additional actions.