Blender

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.