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>
This commit is contained in:
@ -12,17 +12,12 @@ module animatePatchPanel(at=$t) {
|
||||
|
||||
plateThickness = 3;
|
||||
keystoneSpacing = 19;
|
||||
slots = max(1,ceil(at*8));
|
||||
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])
|
||||
mirror(v=[0,0,1])
|
||||
render()
|
||||
patchPanelSystem(numSlots = slots, plateThickness=plateThickness, keystoneSpacing=keystoneSpacing);
|
||||
|
||||
// keystone visualization
|
||||
for (i = [0:slots-1]) {
|
||||
translate(v=[keystoneSpacing*i + 12, 0,0,]) // hardcoded offset
|
||||
%rj45Keystone();
|
||||
}
|
||||
patchPanelSystem(slots = slots, plateThickness=plateThickness, keystoneSpacing=keystoneSpacing);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user