diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2015-07-27 13:13:10 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2015-07-27 13:13:10 +0200 |
commit | 3328d5cc31143ed95914be7a9ff10f3a40b1ce8c (patch) | |
tree | dea4f77fe1b070181f5e0aa6fd9d3a99eba7d8a8 /src/lib | |
parent | f64757a4dccde06dd903653d93ea76d7f8dbe05f (diff) |
Fixed stick shuttle
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/shuttle.scad | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/shuttle.scad b/src/lib/shuttle.scad index 40234a8..c6ec8d4 100644 --- a/src/lib/shuttle.scad +++ b/src/lib/shuttle.scad @@ -1,17 +1,17 @@ -module stick_shuttle(l, r=4) { +module stick_shuttle(l, r=8, h=4) { difference() { intersection() { rotate([0, 90, 0]) hull() { cylinder(r1=0.5, r2=r, h=r*2); translate([0, 0, l - r * 2]) cylinder(r1=r, r2=0.5, h=r*2); } - translate([-1, -r-1, -r/2]) cube([l+2, (r+1) * 2, r]); + translate([-1, -r-1, -h/2]) cube([l+2, (r+1) * 2, h]); } - translate([r*2, 0, 0]) cylinder(r=r/2.5, h=r*2, center=true, $fn=10); - translate([l - r*2, 0, 0]) cylinder(r=r/2.5, h=r*2, center=true, $fn=10); - translate([0, -r/4, -r]) cube([r*2, r/2, r*2]); - translate([l-r*2, -r/4, -r]) cube([r*2, r/2, r*2]); + translate([r*2, 0, 0]) cylinder(r=r/2.5, h=h*2, center=true, $fn=10); + translate([l - r*2, 0, 0]) cylinder(r=r/2.5, h=h*2, center=true, $fn=10); + translate([0, -r/4, -h]) cube([r*2, r/2, h*2]); + translate([l-r*2, -r/4, -h]) cube([r*2, r/2, h*2]); } } |