From f87aebcddf303954c4a95aa19a9ca1a6433fab87 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Feb 2021 00:11:55 +0000 Subject: [PATCH] powerbank-bike-clamp: wip Signed-off-by: Ian Jackson --- powerbank-bike-clamp.scad | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/powerbank-bike-clamp.scad b/powerbank-bike-clamp.scad index 18e338d..aaf287b 100644 --- a/powerbank-bike-clamp.scad +++ b/powerbank-bike-clamp.scad @@ -38,15 +38,17 @@ $fa = 5; bank_eps_bbox_x = [149, 598]; bank_eps_bbox_y = [274, 1452]; +bank_y_sz = 102.25 + 0.50; bank_x_sz = (24.9 + 0.5); bank_recess_y = 5; -bank_recess_dx = 3; strap_th = 3; strap_above = 2.5; // calculated +bank_recess_dx = minor_wall_min; + pspt_to_mm = 25.4 / 72; hinge_stride = (clamp_width + hinge_gap_z) / hinge_lobes; @@ -152,6 +154,13 @@ module PowerBankItselfSidePlan(){ import("powerbank-anker-10000.dxf", convexity=5); } +module PowerBankItself(){ ////toplevel + rotate([0,90,0]) + linextr_y_xz(-bank_y_sz/2, + +bank_y_sz/2) + PowerBankItselfSidePlan(); +} + module PowerBankSidePlan(){ ////toplevel render() difference(){ rectfromto([ -holder_x_sz/2, 0 ], -- 2.30.2