Work on LED housing.
This commit is contained in:
parent
144af1414c
commit
29ba125534
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy-app",
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy-app",
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"description": "GUI for the mcopy small gauge film optical printer platform",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "mcopy",
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mcopy",
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"arduino": "file:app/lib/arduino",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "mcopy",
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"description": "Small gauge film optical printer platform",
|
||||
"main": "build.js",
|
||||
"directories": {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"version": "1.8.36",
|
||||
"version": "1.8.37",
|
||||
"ext_port": 1111,
|
||||
"profiles": {
|
||||
"mcopy": {
|
||||
|
|
|
@ -153,6 +153,7 @@ module LED_housing (pos = [0, 0, 0], rot = [0, 0, 0], OffsetZ = 0, Void = true)
|
|||
D = LEDD + 0.2;
|
||||
H = LEDH;
|
||||
Opening = 3;
|
||||
//LED_housing([0, -17.25, -4.5], [90, -90, 134], Void = true);
|
||||
translate(pos) rotate(rot) {
|
||||
translate([0, 0, OffsetZ]) {
|
||||
difference () {
|
||||
|
@ -173,6 +174,7 @@ module LED_housing (pos = [0, 0, 0], rot = [0, 0, 0], OffsetZ = 0, Void = true)
|
|||
cube([1.5, 15 + 1, 3 + 1], center = true);
|
||||
}
|
||||
}
|
||||
translate([0, -12.5, 12.25]) rotate([0, 90, 0]) cylinder(r = R(StepperMountInnerD + 1), h = 50 + 1, center = true, $fn = 120);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -208,7 +210,6 @@ module stepper_mount_block (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|||
BoltY = NEMA17BoltSpacing / 2;
|
||||
BoltCapZ = 11;
|
||||
H = 30;
|
||||
InnerD = StepperMountInnerD;
|
||||
|
||||
translate(pos) rotate(rot) {
|
||||
difference () {
|
||||
|
@ -220,7 +221,7 @@ module stepper_mount_block (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
|||
//LED_prop([0, -19, -4.5 + 11.5], [0, 0, 45], H = 9, flip = false);
|
||||
}
|
||||
|
||||
translate([0, 0, -5]) cylinder(r = R(InnerD), h = H + 1, center = true, $fn = 120);
|
||||
translate([0, 0, -5]) cylinder(r = R(StepperMountInnerD), h = H + 1, center = true, $fn = 120);
|
||||
|
||||
LED_housing([0, -17.25, -4.5], [90, -90, 134], Void = false);
|
||||
LED_housing([0, -17.25, -4.5], [-90, 90, 134], OffsetZ = -24.25, Void = false);
|
||||
|
@ -240,8 +241,8 @@ 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("blue") LED_housing([0, -17.25, -4.5], [-90, 90, 134], OffsetZ = -24.25, Void = 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -482,7 +483,7 @@ module debug () {
|
|||
//one mount
|
||||
//translate([0, -50, 0]) cube([60, 100, 150], center = true);
|
||||
//
|
||||
translate([35, 5, 0]) cube([60, 25, 150], center = true);
|
||||
//translate([35, 5, 0]) cube([60, 25, 150], center = true);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -494,12 +495,14 @@ module debug () {
|
|||
|
||||
}
|
||||
|
||||
PART = "panel";
|
||||
PART = "led_housing";
|
||||
|
||||
if (PART == "gate_key") {
|
||||
gate_key(KeyRot = 90);
|
||||
} else if (PART == "panel") {
|
||||
rotate([180, 0, 0]) panel();
|
||||
} else if (PART == "led_housing"){
|
||||
LED_housing();
|
||||
} else if (PART == "orbital_mount") {
|
||||
orbital_mount();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue