Having a go at 3D design
I want to make a cap to put a raspberry Pi camera on, that then fits onto any microscope.
Now to design the piece that fits on the microscope which takes the Raspberry Pi camera piece.
I want to include a screw and captured nut so that it will tighten onto the microscope.
I want to include a screw and captured nut so that it will tighten onto the microscope.
Project has moved on
Now creating a housing for the camera and raspberry pi to fix to microscope, based on original design.
To include buttons, one to take picture the other to turn off camera.
Now creating a housing for the camera and raspberry pi to fix to microscope, based on original design.
To include buttons, one to take picture the other to turn off camera.
Code to produce a piece to fit between the microscope and the raspberry Pi fitting
module picap() { translate([0,0,17]) difference(){ cylinder(h=20, d1=46 ,d2=56); cylinder(h=20, d1=36 ,d2=35); } translate([0,0,0]){ difference(){ cylinder(h=17, d=46, $fn=40); cylinder(h=17, d=26,$fn=40); translate([0,0,4]) cylinder(h=8, d=30,$fn=40); translate([15,-7,0]) cube([5,14,15]); rotate([90,0,90]) translate([0,8,10]) cylinder(h=30, d=7,$fn=40); }} translate([0,0,35]) difference(){ cylinder(h=10, d=46); cylinder(h=10, d=36); } } picap(); |
Pi Camera fitting now printed and in use.
Very good fit, needed a tiny bit of sanding, but now fits very firmly in place. Camera needs a longer lead, also I am using some milliput to build up and fix the camera in place as tape moves. Thank you to Marion and Norwich Hackspace for all the help. |
|
2nd Attempt (again using openSCAD)
Designed so no 90 degree overhangs, also given it a base to print first, set on X Y base plane. module picap() translate([0,10,30]){ rotate([270,0,180]){ translate(0,0,50){ difference(){ cylinder(h=7, r=30,$fn=40); translate([-4.5,-4.5,0]) cube([9,9,7]); rotate([0,0,180]){ translate([0,4.5,0]) cylinder(h=7, r=4.5); }} translate([0,0,-13]){ difference(){ cylinder(h=13, r=30, $fn=40); cylinder(h=13, r=23.5,$fn=40); }} difference(){ translate([-12.5,-12.5,7]) cube([25,40,3]); translate([-8.5,-12.5,7]) cube([17,40,3]); }}} translate([-25,-10,-30]){ cube([50,23,6]);} } picap(); |
1st attempt
|