From cf1514f53ec2847a986a66b411916ebe76cbefbb Mon Sep 17 00:00:00 2001 From: mattmcw Date: Mon, 9 Oct 2023 19:07:16 -0400 Subject: [PATCH] Print lens slded at full width (140mm for now) --- 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 | 21 ++++++++++++--------- 8 files changed, 20 insertions(+), 17 deletions(-) diff --git a/app/data/cfg.json b/app/data/cfg.json index b92a291..dae810a 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.49", + "version": "1.8.50", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/package-lock.json b/app/package-lock.json index 125df2f..b7368ac 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.49", + "version": "1.8.50", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index bf61f36..fa44d72 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.49", + "version": "1.8.50", "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 b92a291..dae810a 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.49", + "version": "1.8.50", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index a6bf945..0596191 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.49", + "version": "1.8.50", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.49", + "version": "1.8.50", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index faffaf5..9804e7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.49", + "version": "1.8.50", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index b92a291..dae810a 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.49", + "version": "1.8.50", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/scad/mcopy_rails.scad b/scad/mcopy_rails.scad index 54063b2..179deef 100644 --- a/scad/mcopy_rails.scad +++ b/scad/mcopy_rails.scad @@ -11,7 +11,7 @@ include <./common/common.scad> include <./common/motors.scad> include <./common/rods.scad> -RailSpacing = 100; //160 +RailSpacing = 140; //100 RailVoid = 20.4; ThreadedRodSpacing = 50; RailEndX = RailSpacing + 72; @@ -230,13 +230,15 @@ module lens_sled_m5_bolt_nut_voids (pos = [0, 0, 0], rot = [0, 0, 0], Angle = 36 } } -module extrusion_block (pos = [0, 0, 0], rot = [0, 0, 0], Y = 40, Z = 30) { +module extrusion_block (pos = [0, 0, 0], rot = [0, 0, 0], Y = 40, Z = 30, End = false) { translate(pos) rotate(rot) { difference () { cube([Y, Z, Y], center = true); cube([RailVoid, Z + 1, RailVoid], center = true); } - end_2020([0, 0, 0], [90, 0, 0]); + if (End) { + end_2020([0, 0, 0], [90, 0, 0]); + } } } @@ -351,11 +353,11 @@ module debug () { //translate([50 , -90 - 10, 22]) rotate([0, 90, 0]) bearing_void(); //rail_end(); //camera_sled([0, -90, 0]); - difference () { - lens_sled([0, -90, 0]); - translate([ 50 + (RailSpacing / 2), -90 - 50, 0]) cube([100, 100, 100], center = true); + //difference () { + //lens_sled([0, -90, 0]); + //translate([ 50 + (RailSpacing / 2), -90 - 50, 0]) cube([100, 100, 100], center = true); //translate([ -50 - (RailSpacing / 2), -90, 0]) cube([100, 100, 100], center = true); - } + //} //color("green") translate([RailSpacing / 2, -90 + 15, 20]) rotate([0, 0, 0]) linear_extrude(height=100) 2020_profile(); //difference () { @@ -365,7 +367,7 @@ module debug () { //translate([150, -90, 50]) cube([200, 100, 100], center = true); //} - translate([RailSpacing / 2, -90, 21.5]) rotate([0, 90, 0]) { + /*translate([RailSpacing / 2, -90, 21.5]) rotate([0, 90, 0]) { bearing_roller(); bearing_roller_inner(); } @@ -376,6 +378,7 @@ module debug () { } color("blue") side_lens_sled_bearing_plate([(RailSpacing / 2) + 23.5, -90, 0]); + */ //bearing_roller(); @@ -388,7 +391,7 @@ module debug () { } -PART = "rail_end_idle"; +PART = "lens_sledx"; if (PART == "rail_end") { rail_end();