rename and update print files for rack mount
This commit is contained in:
@ -1,4 +0,0 @@
|
|||||||
include <../side-rail/dualMount.scad>
|
|
||||||
|
|
||||||
// No supports required
|
|
||||||
sideSupportRailBase("lBracket");
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
include <../side-rail/dualMount.scad>
|
|
||||||
|
|
||||||
// No supports required
|
|
||||||
mirror(v=[1,0,0])
|
|
||||||
sideSupportRailBase("lBracket");
|
|
||||||
3
rack-mount/print/sideSupportRail_P1.scad
Normal file
3
rack-mount/print/sideSupportRail_P1.scad
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
use <../sideRail.scad>
|
||||||
|
|
||||||
|
sideSupportRailBase(u=2, double=true, top=true, baseThickness=1.5, sideThickness=4, backThickness=2, supportedZ=27.5, supportedY=101.5, supportedX=159);
|
||||||
4
rack-mount/print/sideSupportRail_P2.scad
Normal file
4
rack-mount/print/sideSupportRail_P2.scad
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
use <../sideRail.scad>
|
||||||
|
|
||||||
|
mirror(v=[1,0,0])
|
||||||
|
sideSupportRailBase(u=2, double=true, top=true, baseThickness=1.5, sideThickness=4, backThickness=2, supportedZ=27.5, supportedY=101.5, supportedX=159);
|
||||||
19
rack-mount/print/tray_P.scad
Normal file
19
rack-mount/print/tray_P.scad
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
use <../tray.scad>
|
||||||
|
|
||||||
|
// Config variables
|
||||||
|
trayWidth = 140;
|
||||||
|
trayDepth = 85;
|
||||||
|
trayThickness = 3;
|
||||||
|
|
||||||
|
pointHoleRadius = screwRadiusSlacked("m3");
|
||||||
|
pointHoleThickness = 2;
|
||||||
|
pointMountElevation = 1;
|
||||||
|
mountPoints = [ // [x,y,elevation,holeRadius,holeThickness]
|
||||||
|
[(27.5),34, pointMountElevation, pointHoleRadius, pointHoleThickness],
|
||||||
|
[(27.5)+79.5,34, pointMountElevation, pointHoleRadius, pointHoleThickness]
|
||||||
|
];
|
||||||
|
|
||||||
|
mountScrewType = "m3";
|
||||||
|
|
||||||
|
// Rack mount tray that supports screws on the bottom of the rack-mount item
|
||||||
|
bottomScrewTray(u=1, trayWidth=trayWidth, trayDepth=trayDepth, trayThickness=trayThickness, mountPoints=mountPoints, mountScrewType=mountScrewType);
|
||||||
@ -1,7 +1,7 @@
|
|||||||
include <../../helper/common.scad>
|
include <../helper/common.scad>
|
||||||
include <../../config/common.scad>
|
include <../config/common.scad>
|
||||||
include <../../rack/sharedVariables.scad>
|
include <../rack/sharedVariables.scad>
|
||||||
include <../common.scad>
|
include <./common.scad>
|
||||||
|
|
||||||
sideSupportRailBase(u=2, double=true, top=true, baseThickness=1.5, sideThickness=4, backThickness=2, supportedZ=27.5, supportedY=101.5, supportedX=159);
|
sideSupportRailBase(u=2, double=true, top=true, baseThickness=1.5, sideThickness=4, backThickness=2, supportedZ=27.5, supportedY=101.5, supportedX=159);
|
||||||
|
|
||||||
@ -1,19 +1,6 @@
|
|||||||
include <./common.scad>
|
include <./common.scad>
|
||||||
use <./rackEars.scad>
|
use <./rackEars.scad>
|
||||||
|
|
||||||
// Rack mount tray that supports screws on the bottom of the rack-mount item
|
|
||||||
bottomScrewTray(u=1);
|
|
||||||
|
|
||||||
|
|
||||||
// Config variables
|
|
||||||
//trayAlignment = "middle"; // middle, right, left
|
|
||||||
trayWidth = 140;
|
|
||||||
trayDepth = 85;
|
|
||||||
trayThickness = 3;
|
|
||||||
|
|
||||||
mountPoints = [];
|
|
||||||
mountScrewType = "m3";
|
|
||||||
|
|
||||||
|
|
||||||
module bottomScrewTray(u, trayWidth, trayDepth, trayThickness, mountPoints, mountScrewType) {
|
module bottomScrewTray(u, trayWidth, trayDepth, trayThickness, mountPoints, mountScrewType) {
|
||||||
|
|
||||||
@ -38,15 +25,7 @@ module bottomScrewTray(u, trayWidth, trayDepth, trayThickness, mountPoints, moun
|
|||||||
leftScrewGlobalX = -leftScrewDistToTray;
|
leftScrewGlobalX = -leftScrewDistToTray;
|
||||||
rightScrewGlobalX = screwDx + leftScrewGlobalX;
|
rightScrewGlobalX = screwDx + leftScrewGlobalX;
|
||||||
|
|
||||||
pointHoleRadius = screwRadiusSlacked("m3");
|
points=mountPoints;
|
||||||
pointHoleThickness = 2;
|
|
||||||
pointMountElevation = 1;
|
|
||||||
|
|
||||||
points = [ // [x,y,elevation,holeRadius,holeThickness]
|
|
||||||
[(27.5),34, pointMountElevation, pointHoleRadius, pointHoleThickness],
|
|
||||||
[(27.5)+79.5,34, pointMountElevation, pointHoleRadius, pointHoleThickness]
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
difference() {
|
difference() {
|
||||||
applyMountHoles(points)
|
applyMountHoles(points)
|
||||||
|
|||||||
BIN
stl/micro/rack-mount/sideSupportRail_P1.stl
Normal file
BIN
stl/micro/rack-mount/sideSupportRail_P1.stl
Normal file
Binary file not shown.
BIN
stl/micro/rack-mount/sideSupportRail_P2.stl
Normal file
BIN
stl/micro/rack-mount/sideSupportRail_P2.stl
Normal file
Binary file not shown.
BIN
stl/micro/rack-mount/tray_P.stl
Normal file
BIN
stl/micro/rack-mount/tray_P.stl
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user