Sweep Creates wavy surface

Hello - I swept a rail in order to create a surface with edges that have smooth transitions, but instead get edges that are wavy. Anyone know what I’m doing wrong? Any advice would be much appreciated. Images and file attached. Thanks!

sweep problem.3dm (415.3 KB)

Try it with these settings:

Hello - I would SimplifyCrv on the long path curve, ExtrudeCrv that curve (both sides) then Trim the result with curves that you like.

sweep problem_PG.3dm (478.5 KB)

Here, I made interpolated curves through the ends of the red lines (cyan). I pulled these to the extrusions (messy) and picked out the curves I wanted from the mess (green) and trimmed the extrusion.

-Pascal

Works like a charm, thanks for the help Pascal.