summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--box/box.scad31
1 files changed, 18 insertions, 13 deletions
diff --git a/box/box.scad b/box/box.scad
index 13ce38a..bc5fa85 100644
--- a/box/box.scad
+++ b/box/box.scad
@@ -120,8 +120,8 @@ snapJoins = [
// (5) = size
// (6) = "label text"
labelsPlane = [
- [12, 35, 0, "lid", "Liberation Mono:style=bold", 4, "Square Dishy 150W PoE++"],
- [35, 28, 0, "lid", "Liberation Mono:style=bold", 4, "50V DC" ],
+ [12, 35, 0, "lid", "Noto Sans Mono:style=bold", 4, "Square Dishy Gigabit PoE"],
+ [35, 28, 0, "lid", "Noto Sans Mono:style=bold", 4, "44-57V DC" ],
];
// Reference board model
@@ -221,21 +221,26 @@ module solidMinkowskiBox(L, W, H, rad, plane, wall)
difference() {
union() {
YAPPgenerate();
- difference() {
- translate([pcbX + 101, pcbY + origin_y - 3.67 * IN + 5/2, pcbZ + 3.3/2])
- rotate([180, 90, 0])
- sl_shell();
+ if (printBaseShell) {
difference() {
- cube(400, center=true);
- translate([(shellLength/2), shellWidth/2, (baseWallHeight) + basePlaneThickness]) {
+ translate([pcbX + 101, pcbY + origin_y - 3.67 * IN + 5/2, pcbZ + 3.3/2])
+ rotate([180, 90, 0])
+ sl_shell();
+ difference() {
+ cube(400, center=true);
+ translate([(shellLength/2), shellWidth/2, (baseWallHeight) + basePlaneThickness]) {
+ $fn=25;
+ solidMinkowskiBox(shellInsideLength, shellInsideWidth, baseWallHeight,
+ roundRadius, basePlaneThickness, wallThickness);
+ }
+ }
+ translate([0, 0, (baseWallHeight+basePlaneThickness+
+ lidWallHeight+lidPlaneThickness
+ -ridgeSlack)]) {
$fn=25;
- solidMinkowskiBox(shellInsideLength, shellInsideWidth, baseWallHeight,
- roundRadius, basePlaneThickness, wallThickness);
+ lidShell();
}
}
- translate([0, 0, (baseWallHeight+basePlaneThickness+
- lidWallHeight+lidPlaneThickness)])
- lidShell();
}
}