From a96709cf328167c6c72f85234d4f6e6566e6e61c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 24 Jul 2016 00:30:58 +0100 Subject: [PATCH] earring-stand: break out FrontPattern (nfc) --- earring-stand.scad | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/earring-stand.scad b/earring-stand.scad index ad1b018..1d4ee2f 100644 --- a/earring-stand.scad +++ b/earring-stand.scad @@ -231,14 +231,18 @@ module Base(){ thicks[0]]); } +module FrontPattern(){ + square([front_width, + front_height - eclip_wall_offset + thicks[1]]); +} + module Front(){ ObjectJoins(1); rotate([0, 90-beta, 0]) translate([0, 0, ppxl]) rotate([0,0,90]) { - cube([front_width, - front_height - eclip_wall_offset + thicks[1], - thicks[1]]); + linear_extrude(height=thicks[1]) + FrontPattern(); } } -- 2.30.2