From 440edd7b186ed0f02276ef6c602b5b48d0d76683 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Wed, 27 Dec 2023 23:56:10 -0500 Subject: [PATCH] Add 5mm marks to bolex plate --- 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, 28 insertions(+), 9 deletions(-) diff --git a/app/data/cfg.json b/app/data/cfg.json index f3e5492..f96c811 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.86", + "version": "1.8.87", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/package-lock.json b/app/package-lock.json index 8329134..f7d3c2a 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.86", + "version": "1.8.87", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index 4fa797d..2b838a5 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.86", + "version": "1.8.87", "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 29c1ca4..53aed32 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.86", + "version": "1.8.87", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index a075f6d..f1bb315 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.86", + "version": "1.8.87", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.86", + "version": "1.8.87", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index 2b2ac87..b83c689 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.86", + "version": "1.8.87", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index f3e5492..f96c811 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.86", + "version": "1.8.87", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/scad/mcopy_rails.scad b/scad/mcopy_rails.scad index 7dcd5f4..691fd65 100644 --- a/scad/mcopy_rails.scad +++ b/scad/mcopy_rails.scad @@ -604,11 +604,30 @@ module camera_sled_bolex_plate (pos = [0, 0, 0], rot = [0, 0, 0]) { translate([-18, -22, 10]) rotate([0, 90, 0]) m5_nut(); translate([-18, -22, 20]) cube([5, 7.9, 20], center = true); translate([-25, -22, 10]) cy(5.1, 25, 40, Y = 90); + + //lines + camera_bolex_plate_lines_y(Z / 2); + camera_bolex_plate_lines_y((Z / 2) - CameraSledBolexPlateZ); + translate([0, CameraSledBolexPlateY / 2, 0]) rotate([90, 0, 0]) camera_bolex_plate_lines_y(0); + translate([0, -CameraSledBolexPlateY / 2, 0]) rotate([90, 0, 0]) camera_bolex_plate_lines_y(0); } } } +module camera_bolex_plate_lines_y (Z) { + camera_bolex_plate_line_y(Z = Z); + for (i = [1 : 4]) { + Size = i % 2 == 0 ? 3/4 : 1/2; + camera_bolex_plate_line_y(X = i * 5, Z = Z, Size = Size); + camera_bolex_plate_line_y(X = -i * 5, Z = Z, Size = Size); + } +} + +module camera_bolex_plate_line_y (X = 0, Z = 0, Size = 1) { + translate([X, 0, Z]) rotate([0, 45, 0]) cube([Size, CameraSledBolexY + 1, Size], center = true); +} + module end_2020 (pos = [0, 0, 0], rot = [0, 0, 0], Z = 5) { translate(pos) rotate(rot) { difference () { @@ -990,7 +1009,7 @@ module debug2 () { } -PART = "camera_sled_bolexx"; +PART = "camera_sled_bolex_plate"; if (PART == "rail_end") { rail_end(Projector = true);