Extrude along a vertex line

Hey folks,
im looking for a way to extrude a given shape, e.g. a circle along a given edge line, containing also intersections.
Examples: (left is what i have, right is what i want it to be


of course, these are simple examples and could also be created otherwise, but im having more complex edge lines (with intersections aswell) that cannot be simpled solved by a workaround

Please note: Im not looking for extrude along path, i really want the extruded mesh follwing the edge line. (so that the extruded shape is only duplicated where a vertex of the edge path is)

Thx for helping out in advance

Have you had a look at Geometry Node’s Curve-to-Mesh?

Hi!
Thanks for your answer, im not very familiar with the geometry nodes, so I didnt know about that.

As said, I also have Edge lines with intersections. Giving your approach a try, it doesnt really properly model the intersections as seen below:

Edit: Mesh boolean Node didnt properly solve it, although i expected an acceptable result