Files
rackstack/rack-mount/patch-panel/animate.scad
Kiria 6516c22dc3 Rewrite keystone.scad (#35)
* helper/keystone: rewrite completely

* rack-mount/patch-panel: edit to adapt to the new keystone

* helper/keystone: fill the lug-side opening

* rack-mount/patch-panel: allow combining two types of keystones and
plates freely

* rack-mount/patch-panel/entry: apply suggestions

Co-authored-by: Zhao (Jack) Wang <jazwang@proton.me>

* rack-mount/patch-panel: fix animate.scad & regen gif

---------

Co-authored-by: Zhao (Jack) Wang <jazwang@proton.me>
2025-03-20 22:34:54 -04:00

23 lines
480 B
OpenSCAD

include <../common.scad>
use <./entry.scad>
$vpt = [110,-42,36];
$vpr = [77,0,23];
$vpd = 445;
$vpf = 22.50;
animatePatchPanel(at=$t);
module animatePatchPanel(at=$t) {
plateThickness = 3;
keystoneSpacing = 19;
allSlots = [2, 2, 2, 2, 2, 2, 2, 5, 2];
numSlots = max(1,ceil(at*8));
slots = [each [for (i=[1:numSlots]) allSlots[i]]];
rotate(a=[90,0,0])
render()
patchPanelSystem(slots = slots, plateThickness=plateThickness, keystoneSpacing=keystoneSpacing);
}