Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
That is not quite how the resulting surface looks like - it does not have these edges, but smooth transitions.
To get something like that, You have to use
- either true surfaces and create the solid from those
- or add very small radii to the rectangle corners and split the circle into 8 arcs of different lengths.