I am using Vertex Count: Vertex Neighbors to generate a selection based on the endpoints of a series of mesh lines, then do something with that selection. My problem: how do I ALSO get the NEXT vertex? Or to put it another way, how do I convert that selection to edges that include said vertices?

In the image below, I have circled in blue the verts that I would like to include for the Set Position node. The sphere/instance on point is just for visualization. The use-case for this will include edges of arbitrary start and end positions, vertex counts, and distances between vertices, so it need to affect the circled vertices by index, not by position or proximity to the endpoint verts. enter image description here


1 Answer 1


GN Curves offer you a very convenient Endpoint Selection, for this case, with a variable range. So you can convert to a curve, capture the selection, and convert back to a mesh.

enter image description here

You can make use of the selection as edges, further down the tree:

enter image description here

  • 1
    $\begingroup$ Thank you, a perfect little answer! I knew it was going to be something ridiculously simple I was missing just in my periphery. $\endgroup$
    – ogbog
    Jul 12, 2022 at 23:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .