aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2022-03-25 14:05:26 +0000
committerdakkar <dakkar@thenautilus.net>2022-03-25 14:05:26 +0000
commit2327e9953739361bde0d7d9b46da735e6c6ec22c (patch)
tree3547944d43a5820156ce7a738a0bb2bf76583c9a
parentmaybe decent top layer (diff)
downloadenv-sensor-2327e9953739361bde0d7d9b46da735e6c6ec22c.tar.gz
env-sensor-2327e9953739361bde0d7d9b46da735e6c6ec22c.tar.bz2
env-sensor-2327e9953739361bde0d7d9b46da735e6c6ec22c.zip
different middle: no bottom
-rw-r--r--enclosure/enclosure.scad18
1 files changed, 9 insertions, 9 deletions
diff --git a/enclosure/enclosure.scad b/enclosure/enclosure.scad
index 992b591..1a33123 100644
--- a/enclosure/enclosure.scad
+++ b/enclosure/enclosure.scad
@@ -50,7 +50,7 @@ DISPLAY_Y_OFF=6.1;
BOARD_X=66.5;
BOARD_Y=36.8;
BOARD_SINK=2.2;
-BOARD_PAD=2;
+BOARD_PAD=0;
BOARD_PIN_OFF_X=2.35; BOARD_PIN_DIST_X=61.43;
BOARD_PIN_OFF_Y=2.15; BOARD_PIN_DIST_Y=32.5;
@@ -160,19 +160,19 @@ module co_holes() {
}
module middle_cable_well() {
- box([
+ cube([
20, // doesn't matter, wells at both sides are much wider
CO_CONN_Y,
- CO_Z,
- ]);
+ 200,
+ ], center=true);
}
module board_well() {
- box([ BOARD_X+BOARD_PAD, BOARD_Y+BOARD_PAD, CO_Z]);
+ cube([ BOARD_X+BOARD_PAD, BOARD_Y+BOARD_PAD, 200], center=true);
}
module board_support() {
- HEIGHT=MIDDLE_Z - WALL_THICKNESS - BOARD_SINK;
+ HEIGHT=MIDDLE_Z - BOARD_SINK;
EXTRA=BOARD_SUPPORT_DIAM*2;
translate([0,0,HEIGHT/2]) union() {
@@ -284,13 +284,13 @@ module middle() {
screw_holes();
translate([CABLE_HOLE_X_OFF, CABLE_HOLE_Y_OFF, 0]) cable_hole();
translate([CO_X_OFF, 0, CO_Z_OFF]) co_sensor();
- translate([CABLE_X_OFF, 0, CO_Z_OFF]) middle_cable_well();
+ translate([CABLE_X_OFF, 0, 0]) middle_cable_well();
translate([BOARD_X_OFF, BOARD_Y_OFF, 0]) {
- translate([0,0, CO_Z_OFF]) board_well();
+ translate([0,0, 0]) board_well();
translate([0,0, BOARD_Z_OFF]) outside_wells();
}
}
- translate([BOARD_X_OFF, BOARD_Y_OFF, CO_Z_OFF]) board_supports();
+ translate([BOARD_X_OFF, BOARD_Y_OFF, 0]) board_supports();
}
}