Blender 3.1.2 demo
The starting point is a default grid (10 * 10 faces), where the 4 central faces have been deleted.
Vertex Neighbors is here used to select some vertices in the grid:
- With Vertex Count, a vertex is selected according to its number of neighbors (the number of vertices connected to this vertex with an edge).
- With Face Count, a vertex is selected according to the number of faces that contain the vertex.
Each vertex that gets selected receives a sphere instance.
With Vertex Count = 2, the 4 outer corners of the grid are selected (you get the same selection with Face Count = 1):
With Vertex Count = 3, the vertices on the sides, excluding the corners, get selected (you get the same selection with Face Count = 2):
With Vertex Count = 4, the rest of the vertices are selected:
With Face Count = 3, the 4 inner corners of the grid are selected:
Finally, with Face Count = 4, all the vertices are selected, except those on the sides:
And here's the Blender file:
Geometry_Nodes-Vertex_Neighbors.blend (818.9 KiB)