From 7a3a46a5097ca00c24b6e1bce6b61979a42417c1 Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Fri, 24 Jun 2022 10:35:04 -0500 Subject: Box changes --- box/box.scad | 31 ++++++++++++++++++------------- 1 file 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(); } } -- cgit v1.2.3-18-g5258