From 2cb4f0f7a2c3f9ac80166a40db9581f5ac5f6e31 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 5 Feb 2021 23:58:17 +0000 Subject: [PATCH] powerbank-bike-clamp: rotate (comment, format, nfc) Signed-off-by: Ian Jackson --- powerbank-bike-clamp.scad | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/powerbank-bike-clamp.scad b/powerbank-bike-clamp.scad index 4ad3ac7..18e338d 100644 --- a/powerbank-bike-clamp.scad +++ b/powerbank-bike-clamp.scad @@ -183,20 +183,23 @@ module PowerBankHolderTest(){ ////toplevel } module TubeClampLeft() { ////toplevel - rotate([0,0,180]) - difference(){ - SomeClamp(true) - TubeClampLeftPlan(); - - translate([0, screw_y, 0]) { - linextr_x_yz(-(clamp_gap/2 + screw_nut_th), 0) - square([screw_nut_across, - screw_nut_across / cos(30) + bridge_slop*2], - center=true); - - linextr_x_yz(-main_r, -main_r + screw_head_h) - square([screw_head, screw_head + bridge_slop*2], - center=true); + // We want this to print with the recess overhand to the right + // where the workpiece cooling fan is + rotate([0,0,180]){ + difference(){ + SomeClamp(true) + TubeClampLeftPlan(); + + translate([0, screw_y, 0]) { + linextr_x_yz(-(clamp_gap/2 + screw_nut_th), 0) + square([screw_nut_across, + screw_nut_across / cos(30) + bridge_slop*2], + center=true); + + linextr_x_yz(-main_r, -main_r + screw_head_h) + square([screw_head, screw_head + bridge_slop*2], + center=true); + } } } } -- 2.30.2