Skip to content

Commit

Permalink
missing .scad
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Lukomski committed Oct 31, 2018
1 parent 7a63935 commit a1406b7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ old, printable carriages were using something similar)
M3 stock screws (4.5mm holes for them to turn freely)

no bearings, so very crude, but printable without supports

# wrist_hillberry

more info on that later
gearModule.scad is not mine, but I honestly don't remember the
source, if I find it I'll cite it right away
33 changes: 33 additions & 0 deletions gearModule.scad
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module tooth(width, thickness, height)
{
scale([width/5,thickness/5,height/10])
{
difference()
{
translate([-2.5,0,0])
cube([5,5,10]);
translate([5+1.25-2.5,0-1,0])
rotate([0,-14.0362434,0])
cube([5,5+2,12]);
translate([0-1.25-2.5,0+5+1,0])
rotate([0,-14.0362434,180])
cube([5,5+2,12]);
}
}
}

module gear(toothNo, toothWidth, toothHeight, thickness)
{
radius = (toothWidth*1.7*toothNo)/3.141592653589793238/2;
rotate([-90,0,0])
union()
{
for(i=[0:toothNo])
rotate([0,(360/toothNo)*i,0])
translate([0,0,radius-0.5])
tooth(toothWidth,thickness,toothHeight);
translate([0,thickness,0])
rotate([90,0,0])
cylinder(r=radius, h=thickness);
}
}

0 comments on commit a1406b7

Please sign in to comment.