chiark / gitweb /
poster-tube-lid: WallMountBase wip (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 20:36:50 +0000 (21:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 28 Aug 2023 20:36:50 +0000 (21:36 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
poster-tube-lid.scad

index d82b08d0a3bd3fd0273b8878d81d02d01e189d05..d616220a4a84509c1114ff64c032420c62553d57 100644 (file)
@@ -743,18 +743,22 @@ module WallMountForBase(){ ////toplevel
   }
 }
 
+module WallMountBasePillarsPlan(){
+  for (my = [0,1]) {
+    mirror([0, my]) {
+      rectfromto([ -sm_outer_rad, wmbb_y_max - wmb_mount_y_width ],
+                [ wmbb_x_outer, wmbb_y_max ]);
+    }
+  }
+}
+
 module WallMountBase(){ ////toplevel
   difference(){
     union(){
       // vertical blocks rising to join to wall mount
       linextr(wmbb_z_min, wmb_z_max) {
        difference(){
-         for (my = [0,1]) {
-           mirror([0, my]) {
-             rectfromto([ -sm_outer_rad, wmbb_y_max - wmb_mount_y_width ],
-                        [ wmbb_x_outer, wmbb_y_max ]);
-           }
-         }
+         WallMountBasePillarsPlan();
          WallMountBaseRingCut();
        }
       }