Flatten a tube with irregular ends

Hi,

Is there a way of flatening this part?

SolidworksSheet Metal