From 914da8f1701aedc590aaa542f59ac92e2d9c3bfb Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 24 Jul 2016 00:38:06 +0100 Subject: [PATCH] earring-stand: wip FrontPattern, break out totalh (nfc) --- earring-stand.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/earring-stand.scad b/earring-stand.scad index 8a77ed4..976a83f 100644 --- a/earring-stand.scad +++ b/earring-stand.scad @@ -235,11 +235,12 @@ module Base(){ } module FrontPattern(){ + totalh = front_height - eclip_wall_offset + thicks[1]; + ystride = front_hex_stride; xstride = front_hex_stride * cos(30) * 2; difference(){ - square([front_width, - front_height - eclip_wall_offset + thicks[1]]); + square([front_width, totalh]); for (xi=[ 0 : 10 ]) translate([xi * xstride, 0]) for (yi=[ 0 : 10 ]) -- 2.30.2