I was looking for a simple solution to mount the RPi Model 3 A+ to my Prusa Mini but could not find any low profile solutions. So I made a quick modification to one and used the below parts:
Parts Needed to Mount the case
Parts using in this kit are from the following kits:
If you are looking for a raspberry pi 4 case, I added some holes to the Raspberry Pi 4 Case - Slider Case by dtnavida:
https://www.thingiverse.com/thing:3779674
You should be able to use the RPI 4 Slider case along with the stl of 3030 threaded M5 and 2 M5 x10mm bolts. Note: I do not have a rpi4 to test this with but if you have success with the print please comment.
I printed this in 0.15 layer height, no supports and on the mini with the provided gcode. Note: If you have a pi 4 please see STL files.
Or you can use the STLs to customize the print to your liking. You will need to print each part plus 2 of M5 threaded nuts.
The author remixed this model.