The "MS:GASKET" command allows to draw a bevelled rectangle with thickness and extrusion.

As you can see, you are asked to introduce the radius of the connections and the thickness of the material; you must be careful not to introduce a thickness greater than the radius of the connection because in this case the command fails.