15/01/2018: Added cover option without frame holder
I developed this case to be able to use a Raspberry Pi Zero to run the Octoprint.
My goal was also to control an ATX source with the Octoprint. For this, I used an NPN transistor (general purpose) that is controlled by the GPIO of Raspberry. The transistor switches on / off the PS_ON cable from the ATX source. Anyone using another type of power source can use a relay or an SSR to turn the source (s) on/off.
Raspberry is powered by the 5VSB cable (usually blue) from the ATX source. This cable always has power, even if PS_ON is off.
I did not make a circuit board specific to this circuit because it is very simple.
The reset button is connected to the Ramps reset button. The E-Stop button I solded in the place of Ramps stop push-button. As the buttons used are too tall I drew a small ring to complete the space between the top of the button and the case. This can all be changed in the IGS file that I am making available.
The box design I adapted from this case found in GrabCad: https://grabcad.com/library/lcd-case-for-ramps-1-4-3d-printer-1. Thanks Grzegorz Treter for saving me some time: D
Anyone who wants more information about controlling the source (or using relays) can check this page: https://github.com/foosel/OctoPrint/wiki/Controlling-a-relay-board-from-your-RPi. I used the "PSU Control" plugin of the octoprint to make it work. I've attached a plugin settings screen.
The design of the holder is different from the photo. After printing I realized that the stand should be in front of the cable entry and not behind.