Adjust bolt voids on corner_bracket

This commit is contained in:
Matt McWilliams 2023-11-08 18:15:31 -05:00
parent 6bafb263de
commit a06e2869b9
8 changed files with 35 additions and 20 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.65", "version": "1.8.66",
"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.65", "version": "1.8.66",
"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.65", "version": "1.8.66",
"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.65", "version": "1.8.66",
"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.65", "version": "1.8.66",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mcopy", "name": "mcopy",
"version": "1.8.65", "version": "1.8.66",
"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.65", "version": "1.8.66",
"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.65", "version": "1.8.66",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

View File

@ -397,6 +397,7 @@ module corner_bracket (pos = [0, 0, 0], rot = [0, 0, 0]) {
W = 19; W = 19;
L = 25; L = 25;
T = 3; T = 3;
BoltDepth = 1;
translate(pos) rotate(rot) { translate(pos) rotate(rot) {
difference () { difference () {
union () { union () {
@ -407,9 +408,9 @@ module corner_bracket (pos = [0, 0, 0], rot = [0, 0, 0]) {
translate([0, L / 3, L / 3]) rotate([45, 0, 0]) cube([W + 1, L, L], center = true); translate([0, L / 3, L / 3]) rotate([45, 0, 0]) cube([W + 1, L, L], center = true);
translate([0, T, L - 4.15]) cube([W + 1, L, L], center = true); translate([0, T, L - 4.15]) cube([W + 1, L, L], center = true);
translate([0, L - 4.15, T]) cube([W + 1, L, L], center = true); translate([0, L - 4.15, T]) cube([W + 1, L, L], center = true);
m3_bolt_void([0, 5, -11]); m3_bolt_void([0, 5, -9.5 - BoltDepth]);
translate([0, 5, -14.5]) cube([6.5, 6.5, 4], center = true); translate([0, 5, -14.5]) cube([6.5, 6.5, 4], center = true);
m3_bolt_void([0, -11, 5], [-90, 0, 0]); m3_bolt_void([0, -9.5 - BoltDepth, 5], [-90, 0, 0]);
translate([0, -14.5, 5]) cube([6.5, 4, 6.5], center = true); translate([0, -14.5, 5]) cube([6.5, 4, 6.5], center = true);
} }
} }
@ -524,6 +525,9 @@ module projector_orbital_brace (pos = [0, 0, 0], rot = [0, 0, 0]) {
M5SpacingY = 120; M5SpacingY = 120;
M3BoltY = 20; M3BoltY = 20;
Corner = 20; Corner = 20;
VoidD = 11.25;
VoidX = -45.5;
VoidY = 34.25;
translate(pos) rotate(rot) difference() { translate(pos) rotate(rot) difference() {
cube([X, Y, Z], center = true); cube([X, Y, Z], center = true);
//corners //corners
@ -537,6 +541,10 @@ module projector_orbital_brace (pos = [0, 0, 0], rot = [0, 0, 0]) {
translate([(X / 2) + 0.1, 0, 0]) rotate([0, 0, 45]) cube([1, 1, Z + 1], center = true); translate([(X / 2) + 0.1, 0, 0]) rotate([0, 0, 45]) cube([1, 1, Z + 1], center = true);
translate([-(X / 2) - 0.1, 0, 0]) rotate([0, 0, 45]) cube([1, 1, Z + 1], center = true); translate([-(X / 2) - 0.1, 0, 0]) rotate([0, 0, 45]) cube([1, 1, Z + 1], center = true);
//two voids
translate([VoidX, VoidY, 0 ]) cylinder(r = R(VoidD), h = Z + 1, center = true, $fn = 40);
translate([VoidX, -VoidY, 0 ]) cylinder(r = R(VoidD), h = Z + 1, center = true, $fn = 40);
//face plate m3 bolt //face plate m3 bolt
m3_bolt_void([ProjectorFrameSpacingX / 2, (Y / 2) - M3BoltY, 1], [180, 0, 0], BoltH = 8, CapH = 10); m3_bolt_void([ProjectorFrameSpacingX / 2, (Y / 2) - M3BoltY, 1], [180, 0, 0], BoltH = 8, CapH = 10);
m3_bolt_void([-ProjectorFrameSpacingX / 2, (Y / 2) - M3BoltY, 1], [180, 0, 0], BoltH = 8, CapH = 10); m3_bolt_void([-ProjectorFrameSpacingX / 2, (Y / 2) - M3BoltY, 1], [180, 0, 0], BoltH = 8, CapH = 10);
@ -555,14 +563,14 @@ module projector_orbital_brace (pos = [0, 0, 0], rot = [0, 0, 0]) {
module debug () { module debug () {
//translate([50 , -90 - 10, 22]) rotate([0, 90, 0]) bearing_void(); //translate([50 , -90 - 10, 22]) rotate([0, 90, 0]) bearing_void();
rail_end(Projector = true); //rail_end(Projector = true);
color("green") translate([(ProjectorFrameSpacingX / 2), 0, 50]) rotate([0, 0, 0]) linear_extrude(height=240) 2020_profile(); //color("green") translate([(ProjectorFrameSpacingX / 2), 0, 50]) rotate([0, 0, 0]) linear_extrude(height=240) 2020_profile();
color("green") translate([-(ProjectorFrameSpacingX / 2), 0, 50]) rotate([0, 0, 0]) linear_extrude(height=240) 2020_profile(); //color("green") translate([-(ProjectorFrameSpacingX / 2), 0, 50]) rotate([0, 0, 0]) linear_extrude(height=240) 2020_profile();
color("green") translate([-((ProjectorFrameSpacingX - 20) / 2), 0, 280]) rotate([0, 90, 0]) linear_extrude(height=ProjectorFrameSpacingX-20) 2020_profile(); //color("green") translate([-((ProjectorFrameSpacingX - 20) / 2), 0, 280]) rotate([0, 90, 0]) linear_extrude(height=ProjectorFrameSpacingX-20) 2020_profile();
projector_orbital_brace([0, 14.5, 180], [90, 0, 0]); //projector_orbital_brace([0, 14.5, 180], [90, 0, 0]);
translate([0, 0, 110]) cube([10, 10, 150], center = true); //translate([0, 0, 110]) cube([10, 10, 150], center = true);
corner_bracket([30, 0, 260], [0, 180, 90]); //corner_bracket([30, 0, 260], [0, 180, 90]);
corner_outer_bracket([55, 0, 290], [0, 180, 0]); //corner_outer_bracket([55, 0, 290], [0, 180, 0]);
//camera_sled([0, -90, 0]); //camera_sled([0, -90, 0]);
//difference () { //difference () {
//lens_sled([0, -90, 0]); //lens_sled([0, -90, 0]);
@ -612,7 +620,14 @@ module debug () {
//translate([50 - 10, 0, 0]) rail_debug(100); //translate([50 - 10, 0, 0]) rail_debug(100);
//translate([-50 + 10, 0, 0]) rail_debug(100); //translate([-50 + 10, 0, 0]) rail_debug(100);
//translate([-50, 0, 110]) rotate([0, 90, 0]) rail_debug(100); //translate([-50, 0, 110]) rotate([0, 90, 0]) rail_debug(100);
//corner_bracket([17.5, 0, 88], [0, 180, 90]); difference () {
union () {
corner_bracket();
m3_bolt_void([0, -9.4, 5], [-90, 0, 0], BoltH=8);
}
translate([0, 0, 10]) cube([50, 30, 10], center = true);
}
} }
@ -631,7 +646,7 @@ if (PART == "rail_end") {
} else if (PART == "side_lens_sled_bearing_plate") { } else if (PART == "side_lens_sled_bearing_plate") {
rotate([0, 90, 0]) side_lens_sled_bearing_plate(); rotate([0, 90, 0]) side_lens_sled_bearing_plate();
} else if (PART == "corner_bracket") { } else if (PART == "corner_bracket") {
corner_bracket(); corner_bracket(rot = [0, 90, 0]);
} else if (PART == "corner_outer_bracket") { } else if (PART == "corner_outer_bracket") {
corner_outer_bracket(); corner_outer_bracket();
} else if (PART == "corner_outer_bracket_rotated") { } else if (PART == "corner_outer_bracket_rotated") {