Blender add-on: Wire 2
“Wire” is the Blender add-on for the quick and easy creation of wireframe renders.
“Wire” is the Blender add-on for the quick and easy creation of wireframe renders.
To move the cursor to the start position of the active strip in Blender VSE:
1 |
bpy.context.scene.frame_current = bpy.context.scene.sequence_editor.active_strip.frame_start |
To move the cursor to the end position of the active strip:
1 |
bpy.context.scene.frame_current = bpy.context.scene.sequence_editor.active_strip.frame_final_end |
“Parametrizer” is the Blender add-on for interactively changing mesh geometry through the customizable parameters.
Blender has a very convenient ability to set the desired values through mathematical expressions. If we don’t know the exact value, instead of manually calculating it, we can simply enter an expression that will calculate the desired value.
How to correctly set parameters using mathematical expressionsRead More »
When making your own custom operators, sometimes it is necessary to pass them certain values – execute operator with parameters.
The passed parameter must be defined as an operator property.
The UV-map is directly linked to the mesh through meshloops. We can use that to transfer the selection from the UV-map to the mesh.
To transfer the selection from the UV-map to the mesh, we need to cycle through the mesh polygons, check which meshloops are selected and select the corresponding vertices on the mesh itself.
To get a list of vertices from the vertex group by its name we can use the following code:
1 2 |
[vert for vert in bpy.context.object.data.vertices if bpy.context.object.vertex_groups['vertex_group_name'].index in [i.group for i in vert.groups]] # [bpy.data.meshes['Cube'].vertices[0], bpy.data.meshes['Cube'].vertices[1], ... |
Blender 3D add-on template generator
This script generates the initial template for the Blender add-ons development.
Blender add-on “ColorMatching” updated to v. 1.2.