I wanted to power my rPi directly off my printer, so bought some LM2596 voltage regulators, and wired one directly into the power.
This case holds it pretty well, it's alittle loose, but it's fine.
Printed in PLA, PETG, or whatever you've got, using whatever settings work for you. It really doesn't matter.
I've included the STEP files if you want to modify it. I'm not sure how exporting STEP files works, so the STEP file might include the knock-up of the regulator. Just delete that. :D
This is the regulator I am using:
https://hobbycomponents.com/power/215-lm2596-dc-dc-3-35v-adjustable-step-down-power-supply-module
Category: ElectronicsThe author marked this model as their own original creation. Imported from Thingiverse.