From: Ian Jackson Date: Sat, 23 Jul 2016 23:38:06 +0000 (+0100) Subject: earring-stand: wip FrontPattern, break out totalh (nfc) X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=914da8f1701aedc590aaa542f59ac92e2d9c3bfb;p=reprap-play.git earring-stand: wip FrontPattern, break out totalh (nfc) --- 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 ])