File:Curve Extrude profile WIP.png

In the "Curve to Mesh" node, use auto smooth, and automatically set the sharp flags for free and vector control points.