Thank you for your answer! Do you have the name of the Blender tool top of mind?
Well I did a simple extrusion of a Bézier curve (so I did the curve, filled it, then extruded it) and then removed a parallelepiped piece from it. But because it is mesh-based, the piece was not properly "filled"...