summaryrefslogtreecommitdiff
path: root/src/lib/lucet.scad
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2015-08-05 11:24:28 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2015-08-05 11:24:28 +0200
commit7aa556f674b4c6da1796c75f39cebb538d43d00b (patch)
tree7034f9fc0b0bde7fbb7127daddf932583afb5ee7 /src/lib/lucet.scad
parenta73a90ad542c75ad366c3c8b27d006046f94ead5 (diff)
lucet fork
Diffstat (limited to 'src/lib/lucet.scad')
-rw-r--r--src/lib/lucet.scad24
1 files changed, 24 insertions, 0 deletions
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);
+ }
+ }
+}