From a7f5465a687ae26b06ff877f1228f129e242af92 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Feb 2016 20:14:56 +0000 Subject: [PATCH] bike-lipo-box: TestWall: fix error introduced when wallthick was reduced --- bike-lipo-box.scad.m4 | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bike-lipo-box.scad.m4 b/bike-lipo-box.scad.m4 index 85f6e59..a297550 100644 --- a/bike-lipo-box.scad.m4 +++ b/bike-lipo-box.scad.m4 @@ -36,10 +36,7 @@ module S1930_Negative(){ } module TestWall(){ ////toplevel - sw_ctr = [25, 0, 25]; - sw_ctr_new = [25, - wallthick + 0.5, // xxx compatibility bug - 25]; + sw_ctr = [25, wallthick, 25]; rotate([0,0,-90]){ difference(){ @@ -59,12 +56,12 @@ module TestWall(){ ////toplevel difference(){ union(){ cube([50, wallthick, 50]); - translate(sw_ctr_new) + translate(sw_ctr) rotate([0,0,90]) S1930_Positive(); } - translate(sw_ctr_new) { + translate(sw_ctr) { rotate([0,0,90]) S1930_Negative(); } -- 2.30.2