From: Ian Jackson Date: Fri, 5 Feb 2021 23:38:06 +0000 (+0000) Subject: powerbank-bike-clamp: wip recess X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e2b8202d77f73e6d6a21e6c7c875b81e10401f63;p=reprap-play.git powerbank-bike-clamp: wip recess Signed-off-by: Ian Jackson --- diff --git a/powerbank-bike-clamp.scad b/powerbank-bike-clamp.scad index 0f2a9c7..bb8802d 100644 --- a/powerbank-bike-clamp.scad +++ b/powerbank-bike-clamp.scad @@ -39,6 +39,11 @@ bank_eps_bbox_x = [149, 598]; bank_eps_bbox_y = [274, 1452]; bank_x_sz = (24.9 + 0.5); +bank_recess_y = 5; +bank_recess_dx = 3; + +strap_th = 3; +strap_above = 2.5; // calculated @@ -131,7 +136,10 @@ module SomeClamp(hinge_alt=false){ } module PowerBankSidePlan(){ ////toplevel - intersection(){ + render() difference(){ + rectfromto([ -(bank_x_sz/2 + bank_recess_dx), -(strap_above + strap_th) ], + [ +(bank_x_sz/2 + bank_recess_dx), bank_recess_y ]); + scale( bank_x_sz / ( ( bank_eps_bbox_x[1] - bank_eps_bbox_x[0]