When using a curve as a path and adding another curve object as a bevel object, if I choose 2D for the path curve, the ends of the path match the bevel object - the resulting object looks uniform. Changing the path curve to 3D causes the path to be distorted at the ends unless the path is cyclic.
Is there a way to get the same results using geometry nodes? I have tried starting with a curve angle - which is created as 2D by default, but the results are the same - if the curve isn't cyclic, the ends are distorted. I would like to do this in geometry nodes to take advantage of options such as asign material, reversing the curve via switch node and being able to quickly change profile curves.
This is the setup I have been toying with.
Thanks in advance!

