update rack-mount items

This commit is contained in:
zhao
2023-08-08 20:23:27 -04:00
parent cb7a5e559b
commit 28ec3b9ae8
25 changed files with 80 additions and 29 deletions

View File

@ -0,0 +1,35 @@
include <../config/common.scad>
include <../helper/common.scad>
include <../rack/sharedVariables.scad>
use <./plateBase.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();
}
}
}
}