}
// Outer ring, outer diameter
- ood = 24.8;
- oid = 17.7;
+ ood = 24;
+ oid = 18.0;
iod = 15.0;
- depth = 10.0;
+ depth = 6.0;
lwidth=8.0;
fudge=0.1;
+ slotwidth=3;
-lego_gear(2.5, solid=true);
+lego_gear(2.5, solid=true, axle_hole_tolerance=0.1);
union() {
difference() {cylinder(depth+lwidth, d=ood);
union() { cylinder(depth+lwidth+fudge, d=oid);
- translate([-1,-(ood/2),0]) cube([2,ood,depth+lwidth+fudge]);
- translate([-(ood/2),-1,0]) cube([ood,2,depth+lwidth+fudge]);
+ translate([-(slotwidth/2),-(ood/2),0]) cube([slotwidth,ood,depth+lwidth+fudge]);
+ translate([-(ood/2),-(slotwidth/2),0]) cube([ood,slotwidth,depth+lwidth+fudge]);
}
}
difference() {
cylinder(depth+lwidth, d=iod);
- translate([0,0,-20]) lego_axle(m=5,hole=true);
+ translate([0,0,-20]) lego_axle(m=5,hole=true, tolerance=0.1);
}
}
\ No newline at end of file