3.6

Doo-Sabin mesh subdivision using Blender Geometry Nodes

Doo-Sabin mesh subdivision based on a generalization of bi-quadratic uniform B-splines, as opposed to the more commonly used Catmull-Clark subdivision, which is based on generalized bi-cubic uniform B-splines. We can create a Doo-Sabin mesh subdivision using Blender Geometry Nodes with just two nodes.

Optimizing the speed of data access using foreach_()

The Python language used in the Blender API is very loyal and undemanding when it comes to data typing. However, when working with large amounts of data, the universalization of type conversion can negatively affect the speed of the code. For example, the simplest foreach_get() cycle, which takes data from a set of elements and puts it into an array, can be significantly speeded up simply by choosing the right type of the destination array data.

Sequentially iterating through objects in a collection using Blender Geometry Nodes

Using the Collection Info node in Blender Geometry Nodes, we can access any object located in a specific collection. By accessing objects in a collection by index, we can easily change the current displayed object, simulating a sequential object scrolling.

Setting an icon from the tools panel to a button in the custom UI panel in Blender

To set an icon to a button when creating the custom user UI panel in Blender, we look for the text identifier of the desired icon (usually using the built-in Icon Viewer add-on) and set its value to the “icon” parameter when binding the desired operator to the button. However, the icons used in the tools panel are not existed in the common Blender icons list.