usb_wall_h = 4.54 - 2.04;
usb_ceil_th = 0.425;
-side_wall_th = 1.5;
+side_wall_th = 1.5; // XXXX rename wall_th
board_l = 17.56 + 0.2;
board_w = 19.14 + 0.2;
strain_groove_w = 3;
cable_space_z = 6;
+cable_dia = 5;
bottom_floor_th = 1.5;
fit_gap_z = 0.5;
[ +total_side_wall_x, bottom_wall_top_z ]);
TopElevationForCutout();
- rectfromto([ -board_w/2, bottom_base_z + bottom_floor_th ],
- [ +board_w/2, 20 ]);
}
}
module Bottom(){ ////toplevel
- linextr_y_xz(total_y_min, front_y_max)
- BottomMainElevation();
+ difference(){
+ union(){
+ linextr_y_xz(total_y_min, front_y_max)
+ BottomMainElevation();
+ }
+
+ linextr_y_xz(total_y_min + side_wall_th,
+ front_y_max - side_wall_th)
+ rectfromto([ -board_w/2, bottom_base_z + bottom_floor_th ],
+ [ +board_w/2, 20 ]);
+
+ linextr_y_xz(total_y_min - 1,
+ total_y_min + side_wall_th + 1){
+ translate([ 0, top_base_z ]){
+ hull(){
+ translate([ 0, -cable_dia/2 ])
+ circle(r = cable_dia/2, $fa = 10, $fs = 1);
+ square([ cable_dia, 0.1 ], center=true);
+ }
+ }
+ }
+ }
}
module CoverMainElevation(){