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,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

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

View File

@ -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": {

View File

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

4
package-lock.json generated
View File

@ -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",

View File

@ -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": {

View File

@ -1,5 +1,5 @@
{
"version": "1.8.38",
"version": "1.8.39",
"ext_port": 1111,
"profiles": {
"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]) {
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);