I try to flex something and turn it into an stl file and it just makes a mess

I am trying to flex a straight piece and turn it into an stl file and instead of a ushape it looks more like an orange slice. What am I doing wrong?

Solidworks3d Contentcentral