Update - I printed another of these and found that the tolerance between the clip and holder is too small so I updated the design with some more clearance there, and also strengthened the clip. The current version is M3.
7-5-2018 - If I get the time I may make some small changes and update the files again. I found the clip is a bit aggressive for such a thin battery so I may trim that down. On the plus side it holds the battery well. I might also make some small changes to the openings on the sides (like fillets and possibly making them larger).
These are battery and SD/MicroSD card holders for a Pentax D-LI68 battery (for the Pentax Q). There are 6 total, with 3 types, plain, with an SD card holder and with a Micro SD card holder. Each type has a model with a clip and without a clip. The models with clips will print with supports unless you crank up the overhang %. I printed some with supports (lines) and they were easily removed so that is how I would recommend printing them. I did only printed the micro-SD version with the clip so far and it fits the battery, and micro SD cards pretty good but everyone's printer is a bit different.
I'd also recommend using more than 40% infill and walls that are at least 0.8mm thick, so the clip has enough strength, I printed with 40% and it does not seem to be weak. Please orient these so they print with the open end up.