Improve rack-mount. Individual rack-mount systems are now organized in their own directories, with a standard entry.scad file.

This commit is contained in:
zhao
2023-08-31 00:20:12 -04:00
parent 3167feea03
commit 658fcf9948
67 changed files with 186 additions and 191 deletions

View File

@ -0,0 +1,18 @@
use <./patchPanel.scad>
/*
Parametric patch panel -
Please also make sure that the correct rack frame preset is set in rackFrame.scad.
TODO add support for 2d arrays
*/
// begin config ////////////////////////////////////////////////////////////////////////////////////////////////////////
numSlots = 8;
// end config //////////////////////////////////////////////////////////////////////////////////////////////////////////
mirror(v=[0,0,1])
patchPanel(slots=numSlots);

View File

@ -0,0 +1,38 @@
include <../common.scad>
use <../plateBase.scad>
/*
Parametric patch panel -
Please see ./entry.scad for configuring/printing
Please also make sure that the correct rack frame preset is set in rackFrame.scad.
*/
*patchPanel(slots=2);
module patchPanel (slots=8) {
difference() {
plateThickness = 3;
keystoneSpacing = 19;
supportPlateThickness = 5.9;
supportPlateHeight = 29;
supportPlateEdgeSpacing = 3;
supportPlateWidth = slots * keystoneSpacing + supportPlateEdgeSpacing;
leftRailScrewToSupportDx = railScrewHoleToInnerEdge+4;
railScrewToEdge = 4.5;
union() {
plateBase(U = 2, plateThickness = plateThickness, screwType = mainRailScrewType, screwToXEdge=railScrewToEdge, screwToYEdge=railScrewToEdge, filletR = 2);
translate(v = [leftRailScrewToSupportDx, - railScrewToEdge, - supportPlateThickness])
cube(size = [supportPlateWidth, supportPlateHeight, supportPlateThickness]);
}
union() {
for (i = [0:slots-1]) {
translate(v = [leftRailScrewToSupportDx+supportPlateEdgeSpacing + i*keystoneSpacing, 0, eps])
rotate(a = [-90, 0, 0])
rj45KeystoneJack_N();
}
}
}
}