From 35ec58bf32d9a8706e9c0e7c42d40a59bd793319 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 1 Jan 2024 18:10:07 +0100 Subject: mech: Set correct position for PCB --- mech/pcb_case/pcb.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mech/pcb_case/pcb.scad') diff --git a/mech/pcb_case/pcb.scad b/mech/pcb_case/pcb.scad index ba211ac..23602be 100644 --- a/mech/pcb_case/pcb.scad +++ b/mech/pcb_case/pcb.scad @@ -1,5 +1,5 @@ -module pcb(dim, drillings) { - translate([15, 5, 15]) { +module pcb(dim, drillings, margins, t) { + translate([2*t+margins[0][0], 2*t+margins[1][0], t+margins[2][0]]) { difference() { cube([dim[0], dim[1], dim[2]]); for (drilling = drillings) { -- cgit v1.2.3-70-g09d2