Arri-S work

This commit is contained in:
Matthew McWilliams 2022-10-07 19:47:56 -04:00
parent d5ecd9e057
commit 5026cf869f
23 changed files with 135 additions and 0 deletions

1
app/lib/alert/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/arduino/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/cam/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/capper/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/cmd/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

0
app/lib/delay/index.d.ts vendored Normal file
View File

1
app/lib/devices/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/display/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

13
app/lib/exec/index.d.ts vendored Normal file
View File

@ -0,0 +1,13 @@
declare const execRaw: any;
/**
* Promisified child_process.exec
*
* @param cmd
* @param arg
* @param opts See child_process.exec node docs
* @param {stream.Writable} opts.stdout If defined, child process stdout will be piped to it.
* @param {stream.Writable} opts.stderr If defined, child process stderr will be piped to it.
*
* @returns {Promise<{ stdout: string, stderr: stderr }>}
*/
declare function exec(...args: string[]): Promise<unknown>;

8
app/lib/exit/index.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
/**
* Exit process with either a 0 code or other
* specified failure code. Print message to console first.
*
* @param {string} msg Reason for exit
* @param {integer} code process exit code, default 0
**/
declare function exit(msg: string, code?: number): void;

1
app/lib/ffmpeg/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/ffprobe/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/filmout/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

15
app/lib/frame/index.d.ts vendored Normal file
View File

@ -0,0 +1,15 @@
interface RGBA {
r: number;
g: number;
b: number;
a: number;
}
export default class Frame {
static info(imagePath: string): Promise<{
width: any;
height: any;
}>;
static solidColor(width: number, height: number, color: RGBA): Promise<unknown>;
static blend(inPath: any, color: RGBA, imagePath: string): Promise<string>;
}
export {};

9
app/lib/intval/index.d.ts vendored Normal file
View File

@ -0,0 +1,9 @@
declare class Intval {
private _baseUrl;
private req;
constructor(url: string);
move(): Promise<unknown>;
setDir(dir: boolean): Promise<unknown>;
setExposure(exposure: number, cb: Function): Promise<unknown>;
connect(cb: Function): void;
}

1
app/lib/light/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/log/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/processing/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

2
app/lib/proj/index.d.ts vendored Normal file
View File

@ -0,0 +1,2 @@
/** class representing the Projector features **/
export {};

1
app/lib/sequencer/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/settings/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

1
app/lib/system/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
export {};

72
scad/arri_s.scad Normal file
View File

@ -0,0 +1,72 @@
// Arri-S Animation Motor
include <../common.scad>;
BarrelDiameter = 40;
BarrelLength = 75;
SeatDiameter = 20;
SeatLength = 3;
CapLength = 30;
CapDiameter = 30;
CapThickness = 3;
CapCatchDiameter = 28;
CapCatchLength = 2;
CapCatchOffset = 24;
CapRimDiameter = 37;
CapRimThickness = 3;
NotchDiameter = 2;
NotchOffset = 3;
DriveLength = 8;
DriveDiameter1 = 14;
DriveDiameter2 = 12;
module motorBarrel () {
$fn = 200;
cylinder(r = BarrelDiameter / 2, r2 = (BarrelDiameter - 1) / 2, h = BarrelLength, center = true);
}
module motorSeat () {
$fn = 120;
cylinder(r = SeatDiameter / 2, h = SeatLength, center = true);
}
module motor () {
motorBarrel();
translate([0, 0, (BarrelLength / 2) + (SeatLength / 2)]) motorSeat();
//notch
$fn = 50;
translate([BarrelDiameter / 2, 0, -(BarrelLength / 2) + NotchOffset]) {
rotate([0, 90, 0]) {
cylinder(r = NotchDiameter / 2, h = 1, center = true);
translate([0, 0, NotchDiameter / 4]) sphere(r = NotchDiameter / 2);
}
}
}
module capBellowsAdapter () {
$fn = 200;
difference () {
cylinder(r = CapDiameter / 2, h = CapLength, center = true);
cylinder(r = (CapDiameter - CapThickness) / 2, h = CapLength + 1, center = true);
//catch
translate([0, 0, (CapLength / 2) - CapCatchOffset]) difference () {
cylinder(r = (CapDiameter + 1) / 2, h = CapCatchLength, center = true);
cylinder(r = CapCatchDiameter / 2, h = CapCatchLength + 1, center = true);
}
}
translate([0, 0, (CapLength / 2) + (CapRimThickness / 2)]) {
difference () {
cylinder(r = CapRimDiameter / 2, h = CapRimThickness, center = true);
cube([CapDiameter - CapThickness - 8, CapDiameter - CapThickness - 8, CapRimThickness + 1], center = true);
}
}
}
motor();
//capBellowsAdapter();