Select your language

"Last night I dreamed I ate a ten-pound marshmallow, and when I woke up the pillow was gone."
Tommy Cooper

Blender 3.1.2 demo

 

Vertex Neighbors node - 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.

 

Face Count

 

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):

Vertex Count = 2

 

With Vertex Count = 3, the vertices on the sides, excluding the corners, get selected (you get the same selection with Face Count = 2):

Vertex Count = 3

 

With Vertex Count = 4, the rest of the vertices are selected:

Vertex Count = 4

 

With Face Count = 3, the 4 inner corners of the grid are selected:

Face Count = 3

 

Finally, with Face Count = 4, all the vertices are selected, except those on the sides:

Face Count = 4

 

And here's the Blender file:

Geometry_Nodes-Vertex_Neighbors.blend (818.9 KiB)