diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2015-07-26 21:59:30 +0200 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2015-07-26 22:01:48 +0200 |
commit | f64757a4dccde06dd903653d93ea76d7f8dbe05f (patch) | |
tree | 35796b1dff8eefd51172fa8a82e4af4acf37fad7 /src | |
parent | 992b8b3eac7d00a5cb88c859efb05bfe6fbf68fb (diff) |
Stick shuttle.
Diffstat (limited to 'src')
-rw-r--r-- | src/fish_shuttle.scad (renamed from src/shuttle.scad) | 0 | ||||
-rw-r--r-- | src/lib/shuttle.scad | 17 | ||||
-rw-r--r-- | src/stick_shuttle-18.scad | 3 |
3 files changed, 20 insertions, 0 deletions
diff --git a/src/shuttle.scad b/src/fish_shuttle.scad index 6b9a78e..6b9a78e 100644 --- a/src/shuttle.scad +++ b/src/fish_shuttle.scad diff --git a/src/lib/shuttle.scad b/src/lib/shuttle.scad new file mode 100644 index 0000000..40234a8 --- /dev/null +++ b/src/lib/shuttle.scad @@ -0,0 +1,17 @@ + + +module stick_shuttle(l, r=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([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]); + } +} diff --git a/src/stick_shuttle-18.scad b/src/stick_shuttle-18.scad new file mode 100644 index 0000000..d8223ed --- /dev/null +++ b/src/stick_shuttle-18.scad @@ -0,0 +1,3 @@ +use <lib/shuttle.scad> + +stick_shuttle(180); |