Sweep command issue

Hi, I am trying to model the embankments of a road by “sweeping” a triangle along a closed curve. However, the result changes the dimensions of the triangle and fails to calculate corners and curves properly

Any suggestions?

Hello - please post a file with the input curves to the sweep.