Here we have a superior remix of a Raspberry Pi case.The original design was quite good so there were no issues with the pi itself fitting.- this was about two add on items - a camera and a heat sink :
1) An opening was added for the camera cable. This necessitated raising the roof In order to actually fit the cable and connector into the case. There was also some 'fabrication issues' wherein I needed to ensure built in support for various parts as they were being printed.
2) An opening was added to allow a stick on heat sink to be affixed to the processor (after the pi is inserted into the case.
Draft mode was quite adequate. This is not intended to be a work of art.
In the photo you will see I have it mounted to the right hand rail below the control unit on my Ender 3. This takes a couple of Tee nuts to make happen.The camera cable comes out and goes to the left ...the camera case and mount itself is not part of this package.
You can see the heat sink in the photo (orange fins)
One SNAFU in my installation - the USB cable from the Pi to the printer - you will see I bought 90 degree cable ends - but got the direction wrong! It only just fits.
Also one photo shows the evolution of the prototypes .. it was an iterative process and I was learning my printer 'environment'
Putting it Together
Be-aware: Not covered in the enclosed files: The camera case and mount. and also the buck converter to provide 5 volts to your raspberry pi.
I recommend plugging everything together on the bench before attempting to mount it to your printer. You will want to be sure the software is loaded and functioning to your satisfaction before putting the pi in an awkward spot.Get comfortable with how the camera cable plus onto the pi main board. It is not difficult, but it is fiddly.
To assemble Pi into case slide the Pi end of your camera cable (a thin flat flexible ribbon) through the opening in the case and out the front, then connect it to the camera socket on the pi main board. Slide the assembly back in the case taking up the slack on the camera cable. Once the pi is fully inserted the CPU will line up with a rectangular opening in the cased and a stick on heat sink can be applied. The Pi will not slide into the case if the heat sink is already attached.
The front cover slides into place around the USB and network jacks. It clips in nicely and locks everything together.