From 162cedb004b3c8ca96d9293f614776ceb70c20f4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 21 Nov 2021 19:52:45 +0000 Subject: [PATCH] adafruit-powerboost: provide psu_fix_sz From other repo Signed-off-by: Ian Jackson --- adafruit-powerboost-common.scad | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adafruit-powerboost-common.scad b/adafruit-powerboost-common.scad index 7a61157..7fc3b97 100644 --- a/adafruit-powerboost-common.scad +++ b/adafruit-powerboost-common.scad @@ -40,6 +40,7 @@ psu_y = +psu_sz[1]/2 + psu_usb_protr; psu_z = NutBox_h_base(psu_board_nutbox); psu_z_down = psu_z + 0.1; +psu_fix_sz = NutBox_outer_size(psu_board_nutbox); module PsuBoardRepresentation(){ linear_extrude(height= psu_th) @@ -133,7 +134,7 @@ module PsuClamp(){ ////toplevel linear_extrude(height=psu_clamp_th + psu_th_for_clamp, convexity=5) { difference(){ hull(){ - circle(r = fix_sz/2); + circle(r = psu_fix_sz/2); translate([ -psu_board_nutbox[0]/2, 0]) square(center=true, [ psu_board_clamp_ovlp*2, psu_clamp_w ]); } -- 2.30.2