Specific vertex index

Hello, how do i come about indexing the vertices marked with red procedurally, I tried with vertex neighbors but the vertices on the back has the same amount of vertex neigbors with the one marked with blue, and if i use index nearest the vertex marked with purple will get indexed instead. How do i tackle such problem?

Qucik idea:
Maybe in two steps…

  1. select the ones with two neighbours ( → corners)
  2. select the neighbours of the corners

??

1 Like

Someone told me on another forum that endpoint selection can do this. Thank you nonetheless.

Depends on how you made the mesh.
But with that screenshot alone, it’s really hard to tell…

Yes for curves (and in fact i thougth about this) … but your screenshot shows meshes and so it seem you try to find “those endpoints” by the number of neighbours… in a mesh.
See also DocsBlender Manual → geometry_nodes → curve → endpoint_selection …

So this seems to be a X-Y problem ?? You already converted some curves to mesh and now was searching for a solution for the mesh when it might be easier to solve this in the original object (curve) ??

Some questions could be faster and more precisely answered if there is a little more of context but if a question ask about a specific situation… here neighbours in a mesh… :person_shrugging:

To exaggerate this: one might answer: this is easy in houdini… :stuck_out_tongue_closed_eyes:

2 Likes