Hans Chiu shared a stream about making a procedural animated zipper material.
To move the cursor to the start position of the active strip in Blender VSE:
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:
bpy.context.scene.frame_current = bpy.context.scene.sequence_editor.active_strip.frame_final_end
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.
3D-printed Suzanne from “PRINT THAT THING”
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:
[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, bpy.data.meshes['Cube'].vertices, ...
By Andrew M.
“Many letters about the simple”
I need a frame. No, two frames: one larger, the other smaller, but made from one profile. I drew a rectangle, set the desired dimensions, duplicated, set other sizes. I drew a separate profile. For a section to both rectangles I applied this profile. … why did I get different frames? And none matches the size of the profile? Ah, I forgot to apply the scale. Applied. The dimensions of the cross-section changed, became different, but again not equal to the profile. How to make them equal – read below!
Solving the problem of the discrepancy between the size of the track section and the profile applied to it
This problem occurs when the path for profiling is constructed in any way but then scaled to the desired size. In this case, it does not matter if its scale is 1 or not. If we apply the profile we need to it, then it will be different in size from the set … Why? We will see now.
The BIS (Blender Interplanety Storage) library already has over 500 open public materials available for users.
A set of procedural materials with geometry patterns opened in the BIS library
by Mitsuda Tetsuo
Blender 3D add-on template generator
This script generates the initial template for the Blender add-ons development.
Bezier curves are drawing by four points: two main points (p0, p1) and two handle points (p0_hr, p1_hl).
To add an additional point p2 to a curve at a moment t, with t changes from 0 to 1 and represents the ratio of the p2 point location to the total length of the curve, we need to do the following:
Blender 2.81 beta now is enabled for downloading from the official site.
What is this article about?
In this article, I will talk about the fluid simulator in Blender 2.80. This simulator was first added to the blender at the end of 2005, in version 2.40. Since then, it has not changed significantly (the changes were mainly in the beginning, after the introduction of the blender). The simulator code was written by a third-party developer Nils Thuerey. He wrote a fluid simulation library and named it El’Beem. The engine is voxel-based on the method of lattice Boltzmann equations. It is best suited for creating water, but it has the ability to create viscous liquids (honey, chocolate …) that are not very well implemented. Soon, a new Mantaflow simulator will be introduced into the blender (by the way, Nils Thuerey is taking part in its development).
A set of fully procedural stylized eye shaders opened in the BIS library.
Blender Outliner supports a sequential selection of a number of objects or collections – hold the left mouse button and move the cursor in a required direction.
The panel with system disks list is collapsed in the “File Browser” window by default. But some times it is not convenient.
Not to expand it manually every time we can make a simple modification: