Diffuser mount made for adjusting distance

This commit is contained in:
mmcw-dev 2018-01-18 12:20:24 -05:00
parent 36329fe34e
commit 51151ea9fe
2 changed files with 22 additions and 19 deletions

View File

@ -115,8 +115,9 @@ module diffuser_mount () {
translate ([0, -18, 6]) rotate([90, 90, 0]) cylinder(r = 30 / 2, h = 20, center = true);
//void for attachment
translate([20, -8.5, 6]) cube([8, 8, 8], center = true);
//translate([20, -8.5, 6]) cube([8, 8, 8], center = true);
}
translate([22, -8.5, 6]) light_diffuser_notch();
}
translate ([0, -15.5, 0]) rotate([90, 90, 0]) {
difference () {
@ -126,6 +127,14 @@ module diffuser_mount () {
}
}
module light_diffuser_notch () {
difference () {
cube([6, 12, 8], center = true);
translate([-1, 0, 7]) rotate([0, -20, 0]) cube([8, 12 + 1, 8], center = true);
translate([-1, 0, -7]) rotate([0, 20, 0]) cube([8, 12 + 1, 8], center = true);
}
}
module diffuser_spacer () {
$fn = 100;
LEN = 10;
@ -299,20 +308,15 @@ module impromptu_mount () {
}
}
module fresnel_laser(outer = 14, h = 3, spacing = 0.2) {
$fn = 120;
count = ceil(outer / spacing);
for(i = [0 : count]) {
if (i % 2 != 0) {
difference() {
cylinder(r = outer - (spacing * i), h = h);
cylinder(r = outer - (spacing * (i + 1)), h = h + 1);
}
}
}
}
module light_fresnel (D = 24, BASE = 3, RINGS = 4, d) {
$fn = 200;
STEP = D / RINGS;
cylinder(r = D / 2, h = BASE, center = true);
translate([0, 0, 4]) for (i = [0 : RINGS]) {
cylinder(r1 = (D - (STEP * (i + 1))) / 2, r2 = (D - (STEP * i)) / 2, h = 2, center = true);
}
module fresnel_laser_outer (outer = 13, h = 3) {
$fn = 120;
cylinder(r = outer, h = h);
}

View File

@ -7,7 +7,7 @@ include <./motor.scad>;
//translate([0, 2.5, 0]) rotate([90, 0, 0]) color("red") adafruit_pixie();
//translate([0, 6, 0]) color("blue") pixie_mount();
//translate([0, 0, -50]) color("red") fan(35);
//color("green") diffuser_mount();
color("green") diffuser_mount();
//translate([0, 0, -51.2]) light_body35();
//translate([0, 0, 20]) light_vent_top();
//translate ([0, -20, 0]) rotate([90, 90, 0]) color("red") diffuser_insert();
@ -16,5 +16,4 @@ include <./motor.scad>;
//translate([0, -8.5, 0]) rotate([0, 0, 90]) impromptu_mount();
//translate([30, -8.5, 0]) rotate([90, 0, 90]) flashlight_mount_cap();
//projection() fresnel_laser(spacing = 1);
//projection() fresnel_laser_outer();
//light_fresnel();