chiark / gitweb /
earring-stand: break out FrontPattern (nfc)
[reprap-play.git] / earring-stand.scad
index ad1b0180db4f48cfee7465386b8a4b30957be547..1d4ee2f80a11e6461f364bce8406ab57277cdb3d 100644 (file)
@@ -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();
   }
 }