Work on LED housings

This commit is contained in:
Matt McWilliams 2023-09-28 22:51:55 -04:00
parent 6dd29d9596
commit b5f5b6461a
8 changed files with 21 additions and 11 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.38", "version": "1.8.39",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.38", "version": "1.8.39",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.38", "version": "1.8.39",
"description": "GUI for the mcopy small gauge film optical printer platform", "description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.38", "version": "1.8.39",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.38", "version": "1.8.39",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mcopy", "name": "mcopy",
"version": "1.8.38", "version": "1.8.39",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"arduino": "file:app/lib/arduino", "arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.38", "version": "1.8.39",
"description": "Small gauge film optical printer platform", "description": "Small gauge film optical printer platform",
"main": "build.js", "main": "build.js",
"directories": { "directories": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.38", "version": "1.8.39",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

View File

@ -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]) { module nub_void (pos = [0, 0, 0]) {
translate(pos) { translate(pos) {
translate([NubVoidX / 2, 0, 0]) cylinder(r = R(NubVoidD), h = PanelZ + 1, center = true, $fn = 50); 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 //bottom
//LED_void([0, -17.25, 2.5], [0, 0, 45], true); //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]); //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, -90 + 45], KeyRot=90);
//gate_key([0, -KeyDistance / 2, -14], [0, 0, 180 + 45 ]); //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 () { difference () {
union () { union () {
@ -495,7 +505,7 @@ module debug () {
} }
PART = "led_housing"; PART = "led_housingx";
if (PART == "gate_key") { if (PART == "gate_key") {
gate_key(KeyRot = 90); gate_key(KeyRot = 90);