diff options
author | David Barksdale <amatus@amat.us> | 2022-06-24 10:35:04 -0500 |
---|---|---|
committer | David Barksdale <amatus@amat.us> | 2022-06-24 10:35:04 -0500 |
commit | 7a3a46a5097ca00c24b6e1bce6b61979a42417c1 (patch) | |
tree | 8b5a2ad12844649afdcac8ed357bf5183cad60ae /box/box.scad | |
parent | 0e611205bf19108a128fb40149486ee56a0c948e (diff) |
Box changes
Diffstat (limited to 'box/box.scad')
-rw-r--r-- | box/box.scad | 31 |
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(); } } |