# Geometry Nodes: Affect only the fillet of a fillet curve, such as averaging the Z position

First, the pseudo-code of what I am attempting to do. This is what I'd be doing if it was just in Edit Mode:

1. Have some edges. Some are chained, some are single edges
2. Bevel the vertices between edges
3. Select those beveled edges
4. Switch the pivot point to Individual Origins
5. Scale Z 0

Now to do it in Geometry Nodes! So far I've converted to curve, filleted the curve, deleted the final endpoint of each curve (to prevent Modulo skips) and deleted rogue verts (left over from singular edge chains.) Now I want to average the Z position of the 2 vertices that make up each fillet. Any ideas? I can't seem to crack the Geometry nodes equivalent of Scale by Individual Origins for edges.

• This is, say, to generate horizontal hairpins in a road? Commented Jul 16, 2022 at 7:07
• If your question has been solved, please be so kind and mark the answer that contributed to the solution as "Accepted answer" so that this question will not continue to be displayed as unsolved. Thank you! Here you can find more information: What should I do if someone answers my question?. If you still haven't gotten a solution to your question, please be kind enough to address it. Commented Oct 24, 2022 at 9:27

Here I subdivide the curve with Subdivide Curve and then filter out the vertices created by the node Fillet Curve.