Mount for the Raspberry Pi camera with a ball joint for extra flexibility. Designed to mount on a Prusa i2, reprappro or similar.
Update: I've added parametric_link.scad, which allows you to lengthen the boom arm for the camera and move it away from the bed. You may need to remount your pi or get a longer cable if you use this. Uploaded link_30.stl and link_40.stl which are longer versions of link.stl.
You will require 2 x M3 12mm or longer screws, 1 x M3 20mm screw and 3 x M3 nuts.
Decide which side of the camera housing you want your camera's cable to exit from and print out either CameraFrontLeft or CameraFrontRight accordingly. Print out two of the links and one each of the remainder of the parts.
Insert camera into housing and clip on the back. Insert the ball peg into the peg housing on the camera case and clip the ball into the socket. If the ball/socket fit is too loose, adjust the radius of the ball in the scad file, export to stl and print. Assemble the arm as per the picture using M3 screws and nuts and attach to your printer.
This will print without support.