Added truncation to motor gear

pull/20/head
Carlos Garcia Saura 2014-08-19 01:00:12 +02:00
parent bf1838cffb
commit 334c100e6a
2 changed files with 35038 additions and 17673 deletions

View File

@ -50,10 +50,15 @@ $fs = 0.5; // Minimum fragment size [mm]
/* Herringbone gear module, adapted from MCAD/involute_gears */ /* Herringbone gear module, adapted from MCAD/involute_gears */
module herringbone_gear( teeth=12, circles=0, shaft=5 ) { module herringbone_gear( teeth=12, circles=0, shaft=5 ) {
twist=200; twist=100;
height=10; height=10;
pressure_angle=30; pressure_angle=30;
diam = teeth*2;
truncation_length = 3;
truncation_height = height/3;
module myGear() { module myGear() {
difference() { difference() {
gear( gear(
@ -71,11 +76,11 @@ module herringbone_gear( teeth=12, circles=0, shaft=5 ) {
twist=twist/teeth, twist=twist/teeth,
$fn=15*2 $fn=15*2
); );
translate([0,0,-height/2-0.01]) { mirror([0,0,1]) translate([0,0,-height/2-0.01]) {
difference() { difference() {
cylinder(r=40.5/2, h=height/4); cylinder(r=diam/2, h=truncation_height);
translate([0,0,-0.01]) translate([0,0,-0.01])
cylinder(r1=30/2, r2=40.5/2, h=height/4+0.02); cylinder(r1=diam/2-truncation_length, r2=diam/2, h=truncation_height+0.02);
} }
} }
} }

File diff suppressed because it is too large Load Diff