From 7aa556f674b4c6da1796c75f39cebb538d43d00b Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Wed, 5 Aug 2015 11:24:28 +0200 Subject: lucet fork --- src/lib/lucet.scad | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/lib/lucet.scad (limited to 'src/lib') diff --git a/src/lib/lucet.scad b/src/lib/lucet.scad new file mode 100644 index 0000000..334b84a --- /dev/null +++ b/src/lib/lucet.scad @@ -0,0 +1,24 @@ + + +module lucet(handle=true, hole_r=4, slot_bottom=false, slot_top=false, h=6) { + difference() { + minkowski() { + linear_extrude(height=h-4) union() { + import("gfx/lucet.dxf"); + if (handle) { + import("gfx/lucet-handle.dxf"); + } + } + sphere(r=2); + } + if (slot_bottom) { + translate([20-h/2-0.5, 28, -3]) cube([h+1, 19, h+2]); + } + if (slot_top) { + translate([20-h/2-0.5, 47, -3]) cube([h+1, 19, h+2]); + } + if (hole_r) { + translate([20, 47, -3]) cylinder(r=hole_r, h=h+2, $fn=32); + } + } +} -- cgit v1.2.3