Skip to content

Commit

Permalink
Merge pull request #11 from f3ndot/patch-1
Browse files Browse the repository at this point in the history
auger() actually builds augers with all params
  • Loading branch information
diara628 committed Feb 17, 2013
2 parents ce87286 + e8151cf commit 5f4dd16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions screw.scad
Expand Up @@ -23,15 +23,15 @@ module helix(pitch, length, slices=500){
child(0);
}

module auger(pitch, length, outside_diameter, inner_diameter) {
module auger(pitch, length, outside_radius, inner_radius, taper_ratio = 0.25) {
union(){
helix(pitch, length)
polygon(points=[[10,10],[100,1],[100,-1],[10,-10]], paths=[[0,1,2,3]]);
cylinder(h=length, r=20);
polygon(points=[[0,inner_radius],[outside_radius,(inner_radius * taper_ratio)],[outside_radius,(inner_radius * -1 * taper_ratio)],[0,(-1 * inner_radius)]], paths=[[0,1,2,3]]);
cylinder(h=length, r=inner_radius);
}
}

module test_auger(){translate([300, 0, 0]) auger(100, 300);}
module test_auger(){translate([50, 0, 0]) auger(40, 80, 25, 5);}


module ball_groove(pitch, length, diameter, ball_radius=10) {
Expand Down

0 comments on commit 5f4dd16

Please sign in to comment.