From a2a15dd5586853ccdb9b92f875e1ea75a58c3079 Mon Sep 17 00:00:00 2001 From: Alexandra Lanes Date: Wed, 22 Jun 2022 16:21:23 +0200 Subject: [PATCH] Shallower to fit into the knob, bigger side slots. --- lego_gears.scad | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lego_gears.scad b/lego_gears.scad index 9374311..9c9fd56 100644 --- a/lego_gears.scad +++ b/lego_gears.scad @@ -122,23 +122,24 @@ module lego_gear(s, flat_surface=true, central_axle=true, solid=false, stud_hole } // 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 -- 2.30.2