further work on rack-mount refactor

This commit is contained in:
zhao
2023-09-01 15:30:16 -04:00
parent 658fcf9948
commit be3020cbb1
10 changed files with 194 additions and 92 deletions

View File

@ -0,0 +1,20 @@
include <../common.scad>
use <./entry.scad>
$vpt = [100,-42,36];
$vpr = [70,0,27];
$vpd = 445;
$vpf = 22.50;
animateTraySystem(at=$t);
module animateTraySystem(at=$t) {
trayU = max(1, ceil(at*3));
x=100;
y=100;
dx = abs(lerp(a=-40, b=40, t=at));
dy = abs(lerp(a=-30, b=30, t=at));
traySystem(trayU=trayU, baseWidth=x+dx, baseDepth=y+dy, mountPoints=[]);
}