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:
38
rack-mount/patch-panel/patchPanel.scad
Normal file
38
rack-mount/patch-panel/patchPanel.scad
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user