Hey, can anyone help me with this? Completely confused here. I am trying to get familiar with the corners of edge node for a little project I am working on. In my simplest case example I have a 2D mesh with 2 quad faces, 7 edges

Select one of these edges, determine the face it is connected to (I am mainly interested in the rim edges, but that’s not my issue here), get the position of that face and place an object there for debugging purposes.

Maybe I am completely misunderstanding how this works, but this is my thought process:
feed the edge’s index into the CoE node, get the face index from that, sample face position at that index, place an instance at that position.

The correct values appear in the spread sheet for the viewer node, but neither the cone nor the ico instance on point seem to comply. Even weirder: the cone → set position path behaves different (slightly more correct) than the point to ico instance one.

… so, in this example, it is the index of the Points - and they need to map to the indices of the edges.

Also, the domain of the Sample Index should match the capturing domain (Edges - originating from Corners of Edges being in Edge domain) or interpolation will happen. (Hence sampling Edges evaluated on Faces in this example)

Note here a limitation of the Corners of Edge node: The middle face doesn’t get selected because there the edges can belong to a choice of 2 faces. Winding rules make it such that in this example the middle face never gets chosen. You can fix this by splitting the edges.

now it works. Seems I never completely understood how the sample at index works. It’s finally starting to click, but I’m going to do some more experiments. Thank’s a lot!

Yeah, the documentation doesn’t make the point clear that the index is evaluated against the target geometry… kinda needed to figure that out though experimentation and have seen others confused by that.