From a9772ff081d4a516a2c4fb88fd018a79723929b1 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Mon, 13 Nov 2023 20:41:26 -0500 Subject: [PATCH] Changes to the brace to allow the projector to fit. Made Y of panel larger. --- app/data/cfg.json | 2 +- app/package-lock.json | 2 +- app/package.json | 2 +- data/cfg.json | 2 +- package-lock.json | 4 +-- package.json | 2 +- processing/mcopy/cfg.json | 2 +- scad/mcopy_rails.scad | 56 ++++++++++++++++++++++++--------------- 8 files changed, 43 insertions(+), 29 deletions(-) diff --git a/app/data/cfg.json b/app/data/cfg.json index 4933fbe..ad3d7e2 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.68", + "version": "1.8.69", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/package-lock.json b/app/package-lock.json index 222e32a..f52d12c 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.68", + "version": "1.8.69", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index 115489a..cd6a242 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.68", + "version": "1.8.69", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/data/cfg.json b/data/cfg.json index 514ee35..a5aa19b 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.68", + "version": "1.8.69", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index a979dd7..e9c2aab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.68", + "version": "1.8.69", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.68", + "version": "1.8.69", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index b4a6076..8254f4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.68", + "version": "1.8.69", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 4933fbe..ad3d7e2 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.68", + "version": "1.8.69", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/scad/mcopy_rails.scad b/scad/mcopy_rails.scad index 0e53428..d14fe38 100644 --- a/scad/mcopy_rails.scad +++ b/scad/mcopy_rails.scad @@ -25,7 +25,7 @@ LensRodsOffsetZ = -15; ProjectorFrameSpacingX = (5 * IN) - 20; -OrbitalPlateD = 136; +OrbitalPlateD = 137; module m5_nut (H = 5, DIAG = 9.1) { hex(diag = DIAG, h = H); @@ -141,14 +141,16 @@ module rail_end (pos = [0, 0, 0], rot = [90, 0, 0], Motors = true, Projector = f end_2020([RailSpacing / 2, 0, -15 + 2.4]); } if (Projector) { - difference () { - union () { - extrusion_block([ProjectorFrameSpacingX / 2, 0, 52], [90, 0, 0], End = true); - extrusion_block([-ProjectorFrameSpacingX / 2, 0, 52], [90, 0, 0], End = true); + translate(pos) rotate([rot[0] - 90, rot[1], rot[2]]) { + difference () { + union () { + extrusion_block([ProjectorFrameSpacingX / 2, 0, 52], [90, 0, 0], End = true); + extrusion_block([-ProjectorFrameSpacingX / 2, 0, 52], [90, 0, 0], End = true); + } + //bolts for upright linear extrusions + lens_sled_m3_bolt_voids([ProjectorFrameSpacingX / 2, 0, 55], [90, 0, 0]); + lens_sled_m3_bolt_voids([-ProjectorFrameSpacingX / 2, 0, 55], [90, 0, 0]); } - //bolts for upright linear extrusions - lens_sled_m3_bolt_voids([ProjectorFrameSpacingX / 2, 0, 55], [90, 0, 0]); - lens_sled_m3_bolt_voids([-ProjectorFrameSpacingX / 2, 0, 55], [90, 0, 0]); } } } @@ -524,12 +526,12 @@ module lens_frame_top_gantry (pos = [0, 0, 0], rot = [0, 0, 0]) { module projector_orbital_brace (pos = [0, 0, 0], rot = [0, 0, 0]) { X = 5 * IN; - Y = 150; + Y = 160; Z = 9; PlateD = OrbitalPlateD; InnerD = 63.5; - M5SpacingX = 70; - M5SpacingY = 123; + M5SpacingX = 70 - 18; // - 12 + M5SpacingY = 123 + 8.5;// + 6 M3BoltY = 20; Corner = 20; VoidD = 11.25; @@ -599,14 +601,26 @@ module projector_orbital_brace_corner (pos = [0, 0, 0], rot = [0, 0, 0]) { module debug () { //translate([50 , -90 - 10, 22]) rotate([0, 90, 0]) bearing_void(); - //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 - 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]); - //translate([0, 0, 110]) cube([10, 10, 150], center = true); - //corner_bracket([30, 0, 260], [0, 180, 90]); - //corner_outer_bracket([55, 0, 290], [0, 180, 0]); + rail_end([0, 20, 0], Projector = true); + color("green") translate([(ProjectorFrameSpacingX / 2), 0, 37.25]) rotate([0, 0, 0]) linear_extrude(height=255) 2020_profile(); + color("green") translate([-(ProjectorFrameSpacingX / 2), 0, 37.35]) rotate([0, 0, 0]) linear_extrude(height=255) 2020_profile(); + echo("cross", ProjectorFrameSpacingX-20, "mm"); + color("green") translate([-((ProjectorFrameSpacingX - 20) / 2), 0, 282.25]) rotate([0, 90, 0]) linear_extrude(height=ProjectorFrameSpacingX-20) 2020_profile(); + + projector_orbital_brace([0, 14.5, 180], [90, 0, 0]); + translate ([0, 14.5, 180]) rotate([90, 0, 0]) { + projector_orbital_brace_corner([0, -105, -8], [0, 0, -90]); + + //translate([35-9, -62-3.5, 0]) cylinder(r = R(5), h = 30, center = true, $fn = 60); + } + + translate([0, 0, 110]) cube([10, 10, 150], center = true); + + corner_bracket([30, 0, 260], [0, 180, 90]); + corner_outer_bracket([55, 10, 290], [0, 180, 0]); + + corner_bracket([-30, 0, 260], [180, 0, 90]); + corner_outer_bracket([-55, 0, 290], [180, 0, 0]); //camera_sled([0, -90, 0]); //difference () { //lens_sled([0, -90, 0]); @@ -663,8 +677,8 @@ module debug () { } translate([0, 0, 10]) cube([50, 30, 10], center = true); }*/ - projector_orbital_brace(); - projector_orbital_brace_corner([0, 0, -8]); + //projector_orbital_brace(); + //projector_orbital_brace_corner([0, 0, -8]); }