From c9fb2c1531fd1430fb2034fa3edbb41f7b69b385 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 9 Jan 2024 19:59:04 +0100 Subject: mech: pcb_case: Add spacers Since a proper norm-based distance bolt was not found printing spacers is the easiest way to make the case producable independent of part availability. --- mech/production.scad | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mech/production.scad') diff --git a/mech/production.scad b/mech/production.scad index 1485a39..7ca3051 100644 --- a/mech/production.scad +++ b/mech/production.scad @@ -5,6 +5,7 @@ use use use use +use module production() { dim = dim_pcb_to_case(pcb_dim, margins, t); @@ -26,6 +27,12 @@ module production() { rotate([0, -90, 0]) translate([2*t-dim[0], -t, -t]) panel_front(pcb_dim, margins, t); + + for(i = [0:3]) { + translate([dim[0]+bolt_dk/2+spacing, bolt_dk/2+i*(bolt_dk+spacing), 0]) { + spacer(); + } + } } production(); -- cgit v1.2.3-70-g09d2