How to create a 1/2 cylinder in 3D with vertical ends

First, tool geometry will limit how sharp the internal edges can be.

That said, one has to model the cylinder longer at least by its diameter, then the ends are squared up with a second element, see:

1 Like