This is a remix of tgoacher's PH-25 resistor. I have added a hole in the bottom and a peg to allow it to be mounted into a pre-drilled hole on the pack.
I found printing this at .2mm produced good results. I used ABS for my print material, but other materials should work just as well.
I ended up lightly sanding the part and painting it with Krylon matte black paint (meant for plastic) to give it a very smooth look.