flatten curved part

I need to be able to flatten organic curved surfaces into 2D profile.  I attached an example of what I mean.  I don't necessarily need to have the part flattened, I just need to be able to take the profile as if it were flat.

Thanks

SolidworksParts And Features