tighter inside clearance this will work trust

This commit is contained in:
ewin 2025-10-18 16:23:40 -04:00
parent 5c443f9bef
commit df66fcc9e2
Signed by: erin
SSH key fingerprint: SHA256:swjoHhREbZPbWe+gyJNi24d4NAxJSyUIm3fpZj4z3wc

View file

@ -1,7 +1,7 @@
$fn = 20; $fn = 20;
baseplate_thickness = 2; baseplate_thickness = 2;
inner_clearance = 7.5; // space inside the case for the battery/mcu to occupy inner_clearance = 6.5; // space inside the case for the battery/mcu to occupy
pcb_thickness = 1.6; // thickness of the pcb pcb_thickness = 1.6; // thickness of the pcb
module roundsquare (size, r) { module roundsquare (size, r) {
@ -55,14 +55,14 @@ module standoffs () {
difference() { difference() {
shell(); shell();
translate([2, 65-.01, baseplate_thickness + inner_clearance - 7.5]) translate([2, 65-.01, baseplate_thickness])
// cube([34, 2, 30]); // cube([34, 2, 30]);
// cube([34, 5, 6]); // cube([34, 5, 6]);
cube([18+17-2, 2, 30]); cube([18+17-2, 2, 30]);
// usb-c cutout // usb-c cutout
translate([17 + 18/2 - 9/2, 71, baseplate_thickness + inner_clearance - 6.75]) { translate([17 + 18/2 - 9/2, 71, baseplate_thickness + inner_clearance - 6.5]) {
rotate([90, 0, 0]) linear_extrude(8) { rotate([90, 0, 0]) linear_extrude(8) {
roundsquare([9, 4], r = 1.5); roundsquare([9, 3.75], r = 1.5);
} }
} }
// power switch cutout // power switch cutout