chiark / gitweb /
pattress-boxes-3-cover: Lid
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 26 Dec 2015 00:30:57 +0000 (00:30 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 26 Dec 2015 00:30:57 +0000 (00:30 +0000)
pattress-boxes-3-cover.scad

index d5d577c..5b8677e 100644 (file)
@@ -121,6 +121,12 @@ module LidSide(){
     }
 }
 
+module Lid(){
+  for (m=[0,1])
+    mirror([0,m,0])
+      translate([0, -lid_inner_w/2, 0]) LidSide();
+}
+
 module PegProfile(){
   polygon([[-peg_engage_depth, (peg_engage_dia - peg_outer_slop)/2],
           [0,                 (peg_engage_dia - peg_outer_slop)/2],
@@ -158,7 +164,7 @@ module TopPattressBox(){
 }
 
 module Demo(){
-  translate([0, -lid_inner_w/2, 0]) LidSide();
+  Lid();
   translate([0,0, thinbox_front_z])
     rotate([0,180,0]) translate([0, -patbox_side/2, 0])
     rotate([0,0,90]) union(){