Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
/* features: space for folders, euro containers, fume extraction */
/* folder (WxHxD): 8.5x32x29.5cm */
/* simple view: */
SIMPLE = false;
/* overall dimensions: */
H = 2000;
W = 490;
D = 620;
/* extrusion base dimensions: */
EX = 30;
EY = 30;
/* euro container dimensions: */
ECW = 400;
ECD = 600;
ECH = 120;
ECFH = 9; /* foot height */
ECFSD = 19; /* foot size difference at each side */
/* euro container stack properties: */
ECPs = [[550,4], [1610,2]]; /* Z coordinates of first containers and number of containers */
ECZS = 170; /* Z step for next containers */
/* folder storage properties: */
FSZ0 = 1220; /* bottom Z coordinate */
module aluminumExtrusion(l) {
echo(str("BOM:extrusion,",l));
if (SIMPLE) {
color("gray") cube([EX,EY,l]);
} else {
/* Source: https://commons.wikimedia.org/wiki/File:8020-Fractional-Profiles-1.svg */
color("gray") linear_extrude(l) resize([EX,EY]) import("8020-Fractional-Profiles-1.svg");
}
}
module euroContainer() {
echo("BOM:euroContainer");
color("lightgray") {
translate([ECFSD,ECFSD,0]) cube([ECW-2*ECFSD,ECD-2*ECFSD,ECFH]);
translate([0,0,ECFH]) cube([ECW,ECD,ECH-ECFH]);
}
}
module fullLayer() {
for (y = [0,1]) {
translate([EX,y*(D-EY),EX]) rotate([0,90,0]) aluminumExtrusion(W-2*EX);
}
for (x = [0,1]) {
translate([x*(W-EX),EY,EY]) rotate([-90,0,0]) aluminumExtrusion(D-2*EY);
}
}
module containerStack(z0, n) {
for (i = [0:n-1]) {
translate([
(W - 2*EX - ECW)/2 + EX,
(D - 2*EY - ECD)/2 + EY,
z0 + i*ECZS
]) euroContainer();
for (j = [0,1]) translate([EX + j*(W-3*EX),0,z0 + i*ECZS + ECFH]) rotate([-90,0,0]) aluminumExtrusion(D);
}
}
/* vertical extrusions: */
for (x = [0,1], y = [0,1]) {
translate([x*(W-EX),y*(D-EY),0]) aluminumExtrusion(H);
}
/* base and top bars: */
for (z = [0,1]) {
translate([0,0,z*(H-EY)]) fullLayer();
}
/* euro containers with rails: */
for (ECP = ECPs) containerStack(ECP[0], ECP[1]);
/* folder storage: */
translate([0,0,FSZ0]) fullLayer();2dec9d849This file is pinned to the selected release. Download the original to open it in your design tool.