A friend asked me to design a case for his programmer. It worked like a charm, it slides to the pcb end, then it stays locked by the solders below the pcb. You will need to apply a little presure to fit in.
Orient the piece with the usb slot donwards to prevent using supports. Print it with a brim to prevent print fall.