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

index 4622c872fc069f53183caf4c2e9d39868eadffe7..dc1ef97cc39a4b009aed0ed1b35bad2afb8b7032 100644 (file)
@@ -112,6 +112,8 @@ wmb_bottom_th = 7;
 wmb_bottom_th_min = 1;
 wmb_ring_gap = 1.0;
 wmb_base_extra_rad = 10;
+wmb_jig_th = 2;
+wmb_jig_around_gap = 1;
 
 catch_stalk_h = 4.5;
 catch_stalk_len = 50;
@@ -754,6 +756,13 @@ module WallMountBasePillarsPlan(){
   }
 }
 
+// trim parts that are would foul the wall
+module WallMountTrimWallFoulPlan(){
+    translate([ -sm_outer_rad, 0])
+    rectfromto([ -wmbb_r_top, -(wmbb_r_top + 1) ],
+              [ 0,           +(wmbb_r_top + 1) ]);
+}
+
 module WallMountBase(){ ////toplevel
   difference(){
     union(){
@@ -788,20 +797,37 @@ module WallMountBase(){ ////toplevel
       }
     }
 
-    // trim parts that are would foul the wall
     linextr(wmbb_z_min - 1, wmb_z_max + 1)
-      translate([ -sm_outer_rad, 0])
-      rectfromto([ -wmbb_r_top, -(wmbb_r_top + 1) ],
-                [ 0,           +(wmbb_r_top + 1) ]);
-
+      WallMountTrimWallFoulPlan();
     WallMountBaseScrewsEtc();
   }
 }
 
+module WallMountBaseCutJigPlan(){ ////toplevel
+  difference(){
+    union(){
+      circle(r = wmbb_r_top);
+    }
+
+    translate([ wmb_jig_around_gap, 0 ])
+      WallMountTrimWallFoulPlan();
+
+    offset(delta = wmb_jig_around_gap)
+      WallMountBasePillarsPlan();
+  }
+}
+
+module WallMountBaseCutJig(){ ////toplevel
+  translate([ 0,0, wmbb_z_flat_max + 0.5 ])
+    linextr(0, wmb_jig_th)
+    WallMountBaseCutJigPlan();
+}
+
 module WallMountForBaseDemo(){ ////toplevel
   render() WallMountForBase();
   color("blue") render() WallMountBase();
   %WallMountBaseScrewsEtc();
+  %WallMountBaseCutJig();
 }
 
 module CatchAssemblyCoreProfile(){