You have to use the projection() command.
I’ve been working on a tool for this which directly exports DXFs — if you’ll let me know the dimensions/parameters you wish to use, I could work that up as an example/template file.
That said, these days I pretty much just do full-blind box joints: