From 5371d56bd722c320c6a76753a6e68d9407cadbe3 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 2 Jan 2024 17:09:17 +0100 Subject: mech: pcb_case: Switch shell to PCB-based params After switching the panel to PCB-based dimensions the shell follows with this commit. --- mech/pcb_case/pcb.scad | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mech/pcb_case/pcb.scad') diff --git a/mech/pcb_case/pcb.scad b/mech/pcb_case/pcb.scad index 23602be..e742eb5 100644 --- a/mech/pcb_case/pcb.scad +++ b/mech/pcb_case/pcb.scad @@ -1,5 +1,7 @@ +include + module pcb(dim, drillings, margins, t) { - translate([2*t+margins[0][0], 2*t+margins[1][0], t+margins[2][0]]) { + translate([2*t+margins[0][0], t+2*nut_h+margins[1][0], t+margins[2][0]]) { difference() { cube([dim[0], dim[1], dim[2]]); for (drilling = drillings) { -- cgit v1.2.3-70-g09d2