I want to create a torus-like shape, however using a cross section that is not circular. In particular, the shape I'm trying to make would have a cross section that consists of a rectangle, with one side replace by a half-circle (as in the picture). The circular side would be inwards, towards the center of the Torus.
I have found answers for how to do this out there, but all of those that I've found apply only to pre-2.8 Blender.