Add light module for 35mm fan

This commit is contained in:
mmcw-dev 2018-01-16 09:54:23 -05:00
parent 1a42f260fe
commit 9993631353
2 changed files with 27 additions and 8 deletions

View File

@ -173,8 +173,27 @@ module light_body () {
}
module light_body35 () {
$fn = 60;
W = 0.8 * 25.4;
L = 0.78 * 25.4;
Z = 12;
FAN_W = 35;
FAN_Z = 10;
translate([0, 0, 5]) difference () {
rounded_cube([W + 20 + 6, 40 + 6, 13], d = 6, center = true);
rounded_cube([W + 20, 40, 13 + 1], d = 6, center = true);
translate([0, -15, 20 - 1.5]) rotate([90, 0, 0]) cylinder(r = 31 / 2, h = 30, center = true);
}
translate([0, 0, 0]) difference() {
rounded_cube([W + 20 + 6, 40 + 6, FAN_Z], d = 6, center = true);
rounded_cube([FAN_W + 0.2, FAN_W + 0.2, FAN_Z + 1], d = 4, center = true);
}
}
module light_vent_top () {
$fn = 60;
$fn = 60;
W = 0.8 * 25.4;
L = 0.78 * 25.4;
Z = 12;
@ -194,9 +213,9 @@ module light_vent_top () {
}
module fan () {
module fan (SIZE = 50) {
$fn = 60;
FAN_W = 50;
FAN_W = SIZE;
FAN_Z = 10;
SCREW_D = 4;
SCREW_INNER = 6;
@ -280,7 +299,7 @@ module impromptu_mount () {
}
}
module fresnel_laser(outer = 13, h = 3, spacing = 0.2) {
module fresnel_laser(outer = 14, h = 3, spacing = 0.2) {
$fn = 120;
count = ceil(outer / spacing);
for(i = [0 : count]) {

View File

@ -5,9 +5,9 @@ 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();
translate([0, 0, -50]) color("red") fan(35);
//color("green") diffuser_mount();
//translate([0, 0, -51.2]) light_body();
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();
//translate ([0, -20, 0]) rotate([90, 90, 0]) color("red") diffuser_spacer();
@ -15,5 +15,5 @@ include <./motor.scad>;
//translate([0, -8.5, 0]) rotate([0, 0, 90]) impromptu_mount();
//translate([30, -8.5, 0]) rotate([0, 0, 90]) flashlight_mount_cap();
projection() fresnel_laser(spacing = 1);
projection() fresnel_laser_outer();
//projection() fresnel_laser(spacing = 1);
//projection() fresnel_laser_outer();