From b5f5b6461af4e127e27472f13285800aabaddd63 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Thu, 28 Sep 2023 22:51:55 -0400 Subject: [PATCH] Work on LED housings --- app/data/cfg.json | 2 +- app/package-lock.json | 2 +- app/package.json | 2 +- data/cfg.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- processing/mcopy/cfg.json | 2 +- scad/mcopy_projector.scad | 16 +++++++++++++--- 8 files changed, 21 insertions(+), 11 deletions(-) diff --git a/app/data/cfg.json b/app/data/cfg.json index 3111b03..f53e3b1 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.38", + "version": "1.8.39", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/package-lock.json b/app/package-lock.json index 48d9198..4c84da9 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.38", + "version": "1.8.39", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index f47d03d..7eb5fe4 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.38", + "version": "1.8.39", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/data/cfg.json b/data/cfg.json index 3111b03..f53e3b1 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.38", + "version": "1.8.39", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index 7f9da98..be603c6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.38", + "version": "1.8.39", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.38", + "version": "1.8.39", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index 9af7e8d..d30645f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.38", + "version": "1.8.39", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 3111b03..f53e3b1 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.38", + "version": "1.8.39", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/scad/mcopy_projector.scad b/scad/mcopy_projector.scad index 9e7a54c..e84fcdd 100644 --- a/scad/mcopy_projector.scad +++ b/scad/mcopy_projector.scad @@ -180,6 +180,10 @@ module LED_housing (pos = [0, 0, 0], rot = [0, 0, 0], OffsetZ = 0, Void = true) } } +module LED_enclosure (pos = [0, 0, 0], rot = [0, 0, 0]) { + +} + module nub_void (pos = [0, 0, 0]) { translate(pos) { translate([NubVoidX / 2, 0, 0]) cylinder(r = R(NubVoidD), h = PanelZ + 1, center = true, $fn = 50); @@ -241,8 +245,6 @@ module stepper_mount_block (pos = [0, 0, 0], rot = [0, 0, 0]) { //bottom //LED_void([0, -17.25, 2.5], [0, 0, 45], true); } - color("blue") LED_housing([0, -17.25, -4.5], [90, -90, 134], Void = true); - color("green") LED_housing([0, -17.25, -4.5], [-90, 90, 134], OffsetZ = -24.25, Void = true); } } @@ -475,6 +477,14 @@ module debug () { //NEMA17([0, -KeyDistance / 2, -50]); //gate_key([0, KeyDistance / 2, -14], [0, 0, -90 + 45], KeyRot=90); //gate_key([0, -KeyDistance / 2, -14], [0, 0, 180 + 45 ]); + translate([0, -KeyDistance / 2, -13]) { + color("blue") LED_housing([0, -17.25, -4.5], [90, -90, 134], Void = true); + color("green") LED_housing([0, -17.25, -4.5], [-90, 90, 134], OffsetZ = -24.25, Void = true); + } + /*translate([0, KeyDistance / 2, 0]) { + color("blue") LED_housing([0, -17.25, -4.5], [90, -90, 134], Void = true); + color("green") LED_housing([0, -17.25, -4.5], [-90, 90, 134], OffsetZ = -24.25, Void = true); + }*/ difference () { union () { @@ -495,7 +505,7 @@ module debug () { } -PART = "led_housing"; +PART = "led_housingx"; if (PART == "gate_key") { gate_key(KeyRot = 90);