Work on projector (wrong)

This commit is contained in:
Matt McWilliams 2023-09-14 23:30:29 -04:00
parent 8e90456d87
commit 173ba06590
10 changed files with 75133 additions and 61256 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.8.26",
"version": "1.8.27",
"ext_port": 1111,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "mcopy-app",
"version": "1.8.26",
"version": "1.8.27",
"lockfileVersion": 2,
"requires": true,
"packages": {

View File

@ -1,6 +1,6 @@
{
"name": "mcopy-app",
"version": "1.8.26",
"version": "1.8.27",
"description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js",
"scripts": {

View File

@ -1,5 +1,5 @@
{
"version": "1.8.26",
"version": "1.8.27",
"ext_port": 1111,
"profiles": {
"mcopy": {

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "mcopy",
"version": "1.8.26",
"version": "1.8.27",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mcopy",
"version": "1.8.26",
"version": "1.8.27",
"license": "MIT",
"dependencies": {
"arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{
"name": "mcopy",
"version": "1.8.26",
"version": "1.8.27",
"description": "Small gauge film optical printer platform",
"main": "build.js",
"directories": {

View File

@ -1,5 +1,5 @@
{
"version": "1.8.26",
"version": "1.8.27",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -229,6 +229,21 @@ module octagon_void (pos = [0, 0, 0], D = 25, H = 5.01) {
}
}
module circular_void (pos = [0, 0, 0], rot = [0, 0, 0], D = 25, H = 5.01) {
Fin = 2;
translate(pos) rotate([rot[0], rot[1], rot[2] + (3 * (360 / 8)) ]) {
difference () {
cylinder(r = R(D + 10), h = H, center = true);
//difference () {
cylinder(r = R(D), h = H + 1, center = true, $fn = 120);
for (i = [0: 6]) {
rotate([0, 0, i * (360 / 8)]) translate([15 / 2, 0, 0]) cube([15, Fin, H + 1 + 1], center = true);
}
//}
}
}
}
module gate_bolt_and_nut_void (pos = [0, 0, 0]) {
translate(pos) {
cylinder(r = R(5.2), h = PanelZ + 1, center = true, $fn = 40);
@ -262,7 +277,8 @@ module gate_key (pos = [0, 0, 0], rot = [0, 0, 0]) {
translate([0, 0, -3]) scale([1.07, 1.07, 1]) {
NEMA17_motor_shaft([0, 0, -5]);
}
octagon_void([0, 0, 3.5], D = 24);
octagon_void([0, 0, 3.5], D = 23.5);
//circular_void([0, 0, 3.5], D = 22);
/*translate([0, 0, OctoVoidZ]) {
for (i = [0 : 7]) {
rotate([0, 0, i * (360 / 8)]) {
@ -338,17 +354,18 @@ module debug () {
difference () {
union () {
intersection () {
//panel();
//translate([0, -50, 0]) cube([60, 100, 150], center = true);
panel();
translate([0, -50, 0]) cube([60, 100, 150], center = true);
}
}
//translate([50, 0, 0]) rotate([0, 0, 45]) cube([100, 250, 150], center = true);
translate([0, 0, -75 - 10]) cube([100, 250, 150], center = true);
}
color("black") gate_key([0, -KeyDistance / 2, -13.5], [0, 0, 0]);
gate_key([0, -KeyDistance / 2, -13.5], [0, 0, 360/16]);
}
PART = "gate_keyx";
PART = "gate_key";
if (PART == "gate_key") {
gate_key();

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff