This works excellently. I’ve used it many times. It was made by our own @kigster.
There are several other online generators too. Plus you can download an Inkscape extension for square and elliptical boxes. OnShape has some extensions too to help as does Fusion 360