]> www.fi.muni.cz Git - things.git/commitdiff
Lens cap for Hawkeye Firefly Q6
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 19 Jun 2017 16:05:46 +0000 (18:05 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 7 Jul 2017 10:08:09 +0000 (12:08 +0200)
firefly-q6-lens-cap.scad [new file with mode: 0644]

diff --git a/firefly-q6-lens-cap.scad b/firefly-q6-lens-cap.scad
new file mode 100644 (file)
index 0000000..993d2ad
--- /dev/null
@@ -0,0 +1,28 @@
+eps = 0.01;
+
+// Q6 lens dimensions
+black_ring_d = 18.5 + 0.5;
+yellow_ring_d = 19.5 + 0.5;
+yellow_ring_d2 = 20.5;
+black_ring_h = 3.5;
+yellow_ring_h = 3.5;
+lens_overhang = 2;
+
+wall = 1.5;
+
+body_h = wall + lens_overhang + black_ring_h + yellow_ring_h;
+body_d = 2*wall + yellow_ring_d2;
+
+$fn = 128;
+difference() {
+       cylinder(r = body_d/2, h = body_h);
+       translate([0, 0, wall])
+               cylinder(r = black_ring_d/2-wall, h = lens_overhang+eps);
+       translate([0, 0, wall + lens_overhang])
+               cylinder(r = black_ring_d/2, h = black_ring_h+eps);
+       translate([0, 0, wall + lens_overhang + black_ring_h])
+               cylinder(r = yellow_ring_d/2, h = yellow_ring_h+eps);
+}
+       
+
+