Blender

Distributing objects on a plane without intersections with Blender Geometry Nodes

To distribute objects with Blender Geometry Nodes, the “Distribute Points on Faces” node is usually used. It produces a set of points randomly scattered over the surface of the mesh polygons. Next, the necessary objects are located at these points. In common case, these points are located randomly, and the objects located on them can intersect with each other if the points are close. However, we can configure the nodes so that the meshes located on the points will not intersect.

Filtering values ​​available for selection through the UILayout.prop()

When creating custom properties, the values ​​of which the user can choose from a list, it is often necessary to filter the list of values ​​offered for selection. We can use the poll function to shorten the proposed list of values by removing unwanted elements.