Work on the lamp housing, adding voids for bolts for adjusting
This commit is contained in:
parent
3e223851d9
commit
89bc7df9b9
|
@ -306,32 +306,6 @@ module sprocketed_voids () {
|
||||||
bearing_laser(SPROCKETED_OFFSET, -SPROCKETED_SPACING / 2, 0, hole=false);
|
bearing_laser(SPROCKETED_OFFSET, -SPROCKETED_SPACING / 2, 0, hole=false);
|
||||||
}
|
}
|
||||||
|
|
||||||
module gate () {
|
|
||||||
H = 20;
|
|
||||||
GATE_D = 65;
|
|
||||||
BOX_X = 39;
|
|
||||||
BOX_Y = 100;
|
|
||||||
difference () {
|
|
||||||
intersection () {
|
|
||||||
translate([-1, 0, 0]) cube([4, 16, H + 4], center = true);
|
|
||||||
translate([GATE_D / 2 - 3, 0, 0]) cylinder(r = GATE_D / 2, h = H + 4, center = true);
|
|
||||||
}
|
|
||||||
translate([0, 0, -2]) cube([50, SLIT, H], center = true);
|
|
||||||
}
|
|
||||||
//side walls
|
|
||||||
translate([8, 10, 0]) rotate([0, 0, 20]) cube([20, 4, H + 4], center = true);
|
|
||||||
translate([8, -10, 0]) rotate([0, 0, -20]) cube([20, 4, H + 4], center = true);
|
|
||||||
|
|
||||||
translate([BOX_X - 6, 0, 0]) {
|
|
||||||
difference () {
|
|
||||||
rounded_cube([BOX_X, BOX_Y, H + 4], d = 6, center = true);
|
|
||||||
cube([BOX_X - 8, BOX_Y - 8, H + 4 + 1], center = true);
|
|
||||||
translate([-BOX_X / 2, 0, 0]) cube([BOX_X, 24, H + 4 + 1], center = true);
|
|
||||||
translate([BOX_X / 2, 30, -9]) cube([20, 20, 8], center = true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
module bearing_hobbled_rod () {
|
module bearing_hobbled_rod () {
|
||||||
RH_CONNECT_R = 4; //inside of bearing
|
RH_CONNECT_R = 4; //inside of bearing
|
||||||
difference () {
|
difference () {
|
||||||
|
@ -757,8 +731,9 @@ module sprocketed_roller_gear_cap () {
|
||||||
//translate([57.5, 0, 0]) four_point_connector();
|
//translate([57.5, 0, 0]) four_point_connector();
|
||||||
translate([40, 0, LAMP_Z]) rotate([0, 0, -90]) {
|
translate([40, 0, LAMP_Z]) rotate([0, 0, -90]) {
|
||||||
//lamp_plate();
|
//lamp_plate();
|
||||||
light_housing();
|
lamp_housing();
|
||||||
//light_housing();
|
//translate([0, 15, 4]) lamp_front();
|
||||||
|
//gate();
|
||||||
|
|
||||||
}
|
}
|
||||||
//sprocketed_roller_gear_cap ();
|
//sprocketed_roller_gear_cap ();
|
||||||
|
|
|
@ -3,12 +3,24 @@ $fn = 80;
|
||||||
include <./ready.scad>;
|
include <./ready.scad>;
|
||||||
include <./16mm_sprocketed_roller_var.scad>;
|
include <./16mm_sprocketed_roller_var.scad>;
|
||||||
|
|
||||||
BRACE_L = 24;
|
BRACE_L = 24;
|
||||||
PLATE_L = 47;
|
PLATE_L = 47;
|
||||||
Z = 36;
|
Z = 36;
|
||||||
X = 45;
|
X = 45;
|
||||||
OUTER_W = 34;
|
OUTER_W = 34;
|
||||||
INNER_W = 22.3;
|
INNER_W = 22.3;
|
||||||
|
|
||||||
|
//echo("hex(diag = 10, h = 1);");
|
||||||
|
module hex (diag = 10, h = 1) {
|
||||||
|
//echo("Diag");
|
||||||
|
//echo(diag);
|
||||||
|
cylinder(r = diag / 2, h = h, center = true, $fn = 6);
|
||||||
|
}
|
||||||
|
|
||||||
|
module m4_nut (H = 3.25, DIAG = 8.1) {
|
||||||
|
//tolerance
|
||||||
|
hex(diag = DIAG, h = H);
|
||||||
|
}
|
||||||
|
|
||||||
module roller_base (X = 40) {
|
module roller_base (X = 40) {
|
||||||
BEARING_OUTER_D = 22;
|
BEARING_OUTER_D = 22;
|
||||||
|
@ -84,11 +96,25 @@ module lamp_plate() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module light_housing () {
|
module m4_nut_void () {
|
||||||
|
//hex nut void
|
||||||
|
cylinder(r = 8.1 / 2, h = 3, center = true, $fn = 6);
|
||||||
|
//drop in space
|
||||||
|
translate([-10, 0, 0]) cube([20, 7.1, 3], center = true);
|
||||||
|
//bolt void
|
||||||
|
translate([0, 0, -5]) cylinder(r = 3.9 / 2, h = 30, center = true);
|
||||||
|
translate([-10, 0 , -5]) cube([20, 3.9, 10], center = true);
|
||||||
|
}
|
||||||
|
|
||||||
|
module lamp_housing () {
|
||||||
color("red") translate([0, 32, -8]) cube([34, 28, 2], center = true);
|
color("red") translate([0, 32, -8]) cube([34, 28, 2], center = true);
|
||||||
translate([0, 31, 3]) {
|
translate([0, 31, 3]) {
|
||||||
difference () {
|
difference () {
|
||||||
|
union() {
|
||||||
|
difference () {
|
||||||
|
//main body
|
||||||
cube([OUTER_W, 15 + 8, BRACE_L], center = true);
|
cube([OUTER_W, 15 + 8, BRACE_L], center = true);
|
||||||
|
//main void
|
||||||
cube([INNER_W, 15 + 8 + 1, BRACE_L + 1], center = true);
|
cube([INNER_W, 15 + 8 + 1, BRACE_L + 1], center = true);
|
||||||
//set screw holes
|
//set screw holes
|
||||||
translate([0, -7, 7]) rotate([0, 90, 0]) cylinder(r = 1, h = 50, center = true, $fn = 40);
|
translate([0, -7, 7]) rotate([0, 90, 0]) cylinder(r = 1, h = 50, center = true, $fn = 40);
|
||||||
|
@ -96,15 +122,12 @@ module light_housing () {
|
||||||
translate([(INNER_W / 2) + 1, (BRACE_L / 2) - 10, 3]) color("green") cube([2, BRACE_L, 20], center = true);
|
translate([(INNER_W / 2) + 1, (BRACE_L / 2) - 10, 3]) color("green") cube([2, BRACE_L, 20], center = true);
|
||||||
translate([-(INNER_W / 2) - 1, (BRACE_L / 2) - 10, 3]) color("green") cube([2, BRACE_L, 20], center = true);
|
translate([-(INNER_W / 2) - 1, (BRACE_L / 2) - 10, 3]) color("green") cube([2, BRACE_L, 20], center = true);
|
||||||
}
|
}
|
||||||
|
//blocks for bolts
|
||||||
}
|
translate([10, 7, -3]) cube([10, 12, 15], center = true);
|
||||||
|
translate([-10, 7, -3]) cube([10, 12, 15], center = true);
|
||||||
//bolts
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//light + acrylic holder
|
//light + acrylic holder
|
||||||
translate([0, 45, 5]) {
|
translate([0, 45 - 31, 5 - 3]) {
|
||||||
rotate([0, 0, 180]) light_holder();
|
rotate([0, 0, 180]) light_holder();
|
||||||
translate([0, -7.5, -11.5]) cube([10, 17, 2], center = true);
|
translate([0, -7.5, -11.5]) cube([10, 17, 2], center = true);
|
||||||
|
|
||||||
|
@ -115,6 +138,13 @@ module light_housing () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
//bolt voids
|
||||||
|
translate([11, 10, 2]) rotate ([0, 90, 90]) m4_nut_void();
|
||||||
|
translate([-11, 10, 2]) rotate ([0, 90, 90]) m4_nut_void();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//extended tabs from light housing
|
//extended tabs from light housing
|
||||||
translate([20, 35.5, -4]) {
|
translate([20, 35.5, -4]) {
|
||||||
difference () {
|
difference () {
|
||||||
|
@ -176,6 +206,7 @@ module corner () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//adjustable piece, holds the gate
|
||||||
module lamp_front () {
|
module lamp_front () {
|
||||||
|
|
||||||
R = 70;
|
R = 70;
|
||||||
|
@ -253,7 +284,7 @@ module ws2812b (H = 1.4) {
|
||||||
|
|
||||||
cube([W, W, Z], center = true);
|
cube([W, W, Z], center = true);
|
||||||
}
|
}
|
||||||
|
//3 RGB leds
|
||||||
module light_holder () {
|
module light_holder () {
|
||||||
//
|
//
|
||||||
difference () {
|
difference () {
|
||||||
|
@ -323,6 +354,7 @@ module lamp_cover () {
|
||||||
translate([0, -6, -3.5]) rotate([0, 90, 0]) cylinder(r = 3.5, h = 50, center = true);
|
translate([0, -6, -3.5]) rotate([0, 90, 0]) cylinder(r = 3.5, h = 50, center = true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//corner();
|
//corner();
|
||||||
translate ([0, 0, 11]) {
|
translate ([0, 0, 11]) {
|
||||||
rotate([0, 180, 0]) {
|
rotate([0, 180, 0]) {
|
||||||
|
|
Loading…
Reference in New Issue