diff options
Diffstat (limited to 'src/lib/lucet.scad')
-rw-r--r-- | src/lib/lucet.scad | 24 |
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); + } + } +} |