How to curve a cube mesh around a circle perimeter
You can use the &quot;spin tool&quot;.
Start with a plane section.
Place the 3d cursor at the center of the circle.
Use the spin tool which will be placed at the 3D cursor location (thanks for the information, Robin). By default, the tool will rotate around the Z axis.

Once the operation validated you can tune the values, such as the number of extrusions and the angle.