There are many of various ways to produce joints from flat parts, rather than all are limited to laser cutters, but many the techniques have over from fields like woodworking and metalworking. There are many differing kinds of laser cutters, but all of them basically use precisely the same strategy https://www.sedlacek-t.cz/