I hadI had a TON of these little plastic cases for holding the microSD cards with the full size SD card adapter. To consolidate these cases I designed some inserts for them.
To remove the posts, I believe some flush cutters should work, however I used a little chisel like this (even besides this project, this is one of my most used tools, highly recommend).
I didn't glue anything in, but you could.
Originally printed in PLA, 0.2mm height. Brim shouldn't be needed but I did use mouse ears on the full case holder.