//couronne de transmission roue cysp 2 //adaptée au servo Y du miroir difference(){ //pignon dente gear_wheel(re=10,ri=7,n=12,d=0.5,h=5,t=0.1); //trou central + trous union(){ cylinder(h = 60, r=2,center=true,$fn=20); translate ([0,5,0]) cylinder(h = 60, r=1.25,center=true); rotate ([0,0,120]) translate ([0,5,0]) cylinder(h = 60, r=1.25,center=true); rotate ([0,0,240]) translate ([0,5,0]) cylinder(h = 60, r=1.25,center=true); }//fin union }//fin pignon translate([0,37,0]) rotate([0,0,5]) color([1,1,0.5]) difference(){ //roue dentee gear_wheel(re=30,ri=27,n=36,d=0.5,h=5,t=0.1); //trou central union(){ cylinder(h = 60, r=2,center=true,$fn=30); translate ([0,15,0]) cylinder(h = 60, r=9,center=true); rotate ([0,0,120]) translate ([0,15,0]) cylinder(h = 60, r=9,center=true); rotate ([0,0,240]) translate ([0,15,0]) cylinder(h = 60, r=9,center=true); }//fin union }//fin pignon // PARAMETRIC GEAR WHEELS //from Olala http://www.thingiverse.com/thing:7794 // Parameters // //re// external radius //ri// internal radius //n//number of gears the wheel has //d//parameter to control the separation between gears //h//height of the wheel //t//twist of aech gear in unit of gear module gear_wheel(re,ri,n,d,t=1) { // Angle difference between middle points of gears am=360/n; // Angle difference between middle and ending points of gears ad=360/((d+1)*n*4); //endless screw : twist on each // Drawing gears for (i=[0:n-1]) linear_extrude(height = h, center = true, convexity = 10, twist = 0) polygon( points=[ [0,0], [ri*cos(am*i-2*ad),ri*sin(am*i-2*ad)], [re*cos(am*i-ad),re*sin(am*i-ad)], [re*cos(am*i),re*sin(am*i)], [re*cos(am*i+ad),re*sin(am*i+ad)], [ri*cos(am*i+2*ad),ri*sin(am*i+2*ad)] ], paths=[[0,1,2,3,4,5]]); // Drawing internal circle cylinder(r=ri,h=h,center=true,$fn=100); }