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,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.36",
|
"version": "1.8.37",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.36",
|
"version": "1.8.37",
|
||||||
"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.36",
|
"version": "1.8.37",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.36",
|
"version": "1.8.37",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.36",
|
"version": "1.8.37",
|
||||||
"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.36",
|
"version": "1.8.37",
|
||||||
"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.36",
|
"version": "1.8.37",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -153,6 +153,7 @@ module LED_housing (pos = [0, 0, 0], rot = [0, 0, 0], OffsetZ = 0, Void = true)
|
||||||
D = LEDD + 0.2;
|
D = LEDD + 0.2;
|
||||||
H = LEDH;
|
H = LEDH;
|
||||||
Opening = 3;
|
Opening = 3;
|
||||||
|
//LED_housing([0, -17.25, -4.5], [90, -90, 134], Void = true);
|
||||||
translate(pos) rotate(rot) {
|
translate(pos) rotate(rot) {
|
||||||
translate([0, 0, OffsetZ]) {
|
translate([0, 0, OffsetZ]) {
|
||||||
difference () {
|
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);
|
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;
|
BoltY = NEMA17BoltSpacing / 2;
|
||||||
BoltCapZ = 11;
|
BoltCapZ = 11;
|
||||||
H = 30;
|
H = 30;
|
||||||
InnerD = StepperMountInnerD;
|
|
||||||
|
|
||||||
translate(pos) rotate(rot) {
|
translate(pos) rotate(rot) {
|
||||||
difference () {
|
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);
|
//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], Void = false);
|
||||||
LED_housing([0, -17.25, -4.5], [-90, 90, 134], OffsetZ = -24.25, 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
|
//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("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("green") LED_housing([0, -17.25, -4.5], [-90, 90, 134], OffsetZ = -24.25, Void = true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -446,10 +447,10 @@ module servo_mount (pos = [0, 0, 0], rot = [0, 0, 0]) {
|
||||||
cube([ServoVoidX, ServoY + 1, ServoZ + 1], center = true);
|
cube([ServoVoidX, ServoY + 1, ServoZ + 1], center = true);
|
||||||
translate([0, ServoY - 1, 0]) cube([ServoX + 1, ServoY, 1], center = true);
|
translate([0, ServoY - 1, 0]) cube([ServoX + 1, ServoY, 1], center = true);
|
||||||
|
|
||||||
translate([ServoSpaceX / 2, 0, ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
translate([ServoSpaceX / 2, 0, ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
||||||
translate([-ServoSpaceX / 2, 0, ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
translate([-ServoSpaceX / 2, 0, ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
||||||
translate([ServoSpaceX / 2, 0, -ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
translate([ServoSpaceX / 2, 0, -ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
||||||
translate([-ServoSpaceX / 2, 0, -ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
translate([-ServoSpaceX / 2, 0, -ServoSpaceZ / 2]) rotate([90, 90, 0]) cylinder(r = R(ServoBoltD), h = ServoY + 1, center = true, $fn = 60);
|
||||||
|
|
||||||
//void for motor
|
//void for motor
|
||||||
translate([0, 7.5, -15]) rotate([45, 0, 0]) cube([ServoX+20, 10, 10], center = true);
|
translate([0, 7.5, -15]) rotate([45, 0, 0]) cube([ServoX+20, 10, 10], center = true);
|
||||||
|
@ -482,7 +483,7 @@ module debug () {
|
||||||
//one mount
|
//one mount
|
||||||
//translate([0, -50, 0]) cube([60, 100, 150], center = true);
|
//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") {
|
if (PART == "gate_key") {
|
||||||
gate_key(KeyRot = 90);
|
gate_key(KeyRot = 90);
|
||||||
} else if (PART == "panel") {
|
} else if (PART == "panel") {
|
||||||
rotate([180, 0, 0]) panel();
|
rotate([180, 0, 0]) panel();
|
||||||
|
} else if (PART == "led_housing"){
|
||||||
|
LED_housing();
|
||||||
} else if (PART == "orbital_mount") {
|
} else if (PART == "orbital_mount") {
|
||||||
orbital_mount();
|
orbital_mount();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue