Work on LED housings
This commit is contained in:
parent
6dd29d9596
commit
b5f5b6461a
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.38",
|
"version": "1.8.39",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.38",
|
"version": "1.8.39",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.38",
|
"version": "1.8.39",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue