add angle bracket mounting system
This commit is contained in:
7
rack-mount/angle-bracket/README.md
Normal file
7
rack-mount/angle-bracket/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
# Angle Bracket System
|
||||
|
||||
|
||||

|
||||
|
||||
Please see [entry.scad](./entry.scad) for config and building. Make sure the correct rack profile is configured in [rackFrame.scad](../../config/rackFrame.scad).
|
||||
BIN
rack-mount/angle-bracket/animate.gif
Normal file
BIN
rack-mount/angle-bracket/animate.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
24
rack-mount/angle-bracket/animate.scad
Normal file
24
rack-mount/angle-bracket/animate.scad
Normal file
@ -0,0 +1,24 @@
|
||||
use <./entry.scad>
|
||||
|
||||
$vpt = [120,-30,63];
|
||||
$vpr = [74,0,25];
|
||||
$vpd = 550;
|
||||
$vpf = 22.50;
|
||||
|
||||
animateAngleBrackets(at=$t);
|
||||
|
||||
|
||||
module animateAngleBrackets(at=$t) {
|
||||
|
||||
x = 150;
|
||||
y = 70;
|
||||
dx = abs(lerp(a=-20, b=20, t=at));
|
||||
dy = abs(lerp(a=-50, b=50, t=at));
|
||||
|
||||
u = abs(at - 0.5) > 0.25 ? 3 : 4;
|
||||
|
||||
angleBrackets(visualize=true, boxWidth=x+dx, boxDepth=y+dy, u=u);
|
||||
|
||||
}
|
||||
|
||||
|
||||
36
rack-mount/angle-bracket/entry.scad
Normal file
36
rack-mount/angle-bracket/entry.scad
Normal file
@ -0,0 +1,36 @@
|
||||
include <../common.scad>
|
||||
|
||||
use <../enclosed-box/sideRail.scad>
|
||||
|
||||
|
||||
/*
|
||||
Simple angle bracket mounting system. Mainly derived the enclosed box system.
|
||||
*/
|
||||
module angleBrackets (
|
||||
// begin config ////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Does not affect any part dimensions. Set this to true to visualize how a box would be mounted.
|
||||
visualize = false,
|
||||
|
||||
|
||||
thickness = 3,
|
||||
boxWidth = 160,
|
||||
boxDepth = 120,
|
||||
sideVent = false,
|
||||
u = 3
|
||||
|
||||
// end config //////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
) {
|
||||
|
||||
sideSupportRailBase(top=false, defaultThickness=thickness, railSideThickness=thickness, supportedZ=10*u-2*thickness, supportedY=boxDepth, supportedX=boxWidth, sideVent=sideVent);
|
||||
|
||||
rightRailTrans = visualize
|
||||
? translate(v=[boxWidth,0,0]) * mirror(v=[1,0,0])
|
||||
: translate(v=[30,0,0]) * mirror(v=[1,0,0]);
|
||||
|
||||
multmatrix(rightRailTrans)
|
||||
sideSupportRailBase(top=false, defaultThickness=thickness, railSideThickness=thickness, supportedZ=10*u-2*thickness, supportedY=boxDepth, supportedX=boxWidth, sideVent=sideVent);
|
||||
}
|
||||
|
||||
|
||||
angleBrackets();
|
||||
Reference in New Issue
Block a user