Best way to flatten the top and bottom of a torus geometry

Don’t know if I understood the task correctly, but how about this?
TorusFlat

2 Likes