|
@@ -21,7 +21,7 @@ module pcb_boss(px, py, stud=false) {
|
|
|
cylinder(d=BOSS_D, h=BOSS_H + 0.01, $fn=24);
|
|
cylinder(d=BOSS_D, h=BOSS_H + 0.01, $fn=24);
|
|
|
if (!stud)
|
|
if (!stud)
|
|
|
translate([0, 0, -0.1])
|
|
translate([0, 0, -0.1])
|
|
|
- cylinder(d=SCREW_D * 0.7, h=BOSS_H + 0.2, $fn=18);
|
|
|
|
|
|
|
+ cylinder(d=SCREW_PILOT_D, h=BOSS_H + 0.2, $fn=18);
|
|
|
}
|
|
}
|
|
|
if (stud)
|
|
if (stud)
|
|
|
translate([0, 0, BOSS_H]) {
|
|
translate([0, 0, BOSS_H]) {
|
|
@@ -44,11 +44,6 @@ module base() {
|
|
|
translate([WALL, WALL, FLOOR])
|
|
translate([WALL, WALL, FLOOR])
|
|
|
cube([CAV_L, CAV_W, BASE_H]);
|
|
cube([CAV_L, CAV_W, BASE_H]);
|
|
|
|
|
|
|
|
- // ---- Boss screw holes through 50 % of floor (screw diagonal only) ----
|
|
|
|
|
- for (pos = [[PCB_BOSS_X1, PCB_BOSS_Y2], [PCB_BOSS_X2, PCB_BOSS_Y1]])
|
|
|
|
|
- translate([PCB_OX + pos[0], PCB_OY + pos[1], FLOOR * 0.5 - 0.1])
|
|
|
|
|
- cylinder(d=SCREW_D * 0.7, h=FLOOR * 0.5 + 0.2, $fn=18);
|
|
|
|
|
-
|
|
|
|
|
// ---- +Y wall cutouts ----
|
|
// ---- +Y wall cutouts ----
|
|
|
|
|
|
|
|
// Sliding power switch pocket — closed exterior face, interior clearance only
|
|
// Sliding power switch pocket — closed exterior face, interior clearance only
|