chiark / gitweb /
Revert "poster-tube-lid: make catch stalk base width same as stalk height"
[reprap-play.git] / poster-tube-lid.scad
index 3ef360d052afb0d51c97d61812ebc349cee039bf..7689a6b723b0e2df8b857f6af52deffcfcf6be0e 100644 (file)
@@ -79,7 +79,7 @@ sm_closure_cnr = 3.0;
 
 catch_stalk_h = 5.0;
 catch_stalk_len = 50;
-catch_tip_th = 5;
+catch_tip_th = 6;
 catch_head_th = 3;
 
 catch_pin_slop = 0.25; // each side, and above
@@ -88,7 +88,7 @@ catch_stalk_above_gap = 1.5;
 catch_stalk_eff_bend_rad = catch_stalk_len * 0.75;
 
 catch_strap_width = 12;
-catch_stalk_base_width = catch_stalk_h;
+catch_stalk_base_width = 15;
 
 catch_knob_dia = 6;
 catch_knob_above_gap = 5;
@@ -611,7 +611,8 @@ module CatchAssemblyCoreProfile(){
            ]);
 }
 
-module CatchTipProfile(){
+module CatchTipProfile(dy){
+  ddy = [0,dy];
   intersection(){
     translate(cppF){
       difference(){
@@ -620,8 +621,8 @@ module CatchTipProfile(){
       }
     }
     polygon([ cppa,
-             cppi,
-             cppd,
+             cppi + ddy,
+             cppd + ddy,
              cppc,
              cppb ]);
   }
@@ -641,8 +642,12 @@ module CatchCore(){ /////toplevel
   linear_extrude(height=catch_strap_thick, convexity=10)
     CatchAssemblyCoreProfile();
 
-  linear_extrude(height=catch_tip_th, convexity=10)
-    CatchTipProfile();
+  hull(){
+    linear_extrude(height=catch_head_th, convexity=10)
+      CatchTipProfile(0);
+    linear_extrude(height=catch_tip_th, convexity=10)
+      CatchTipProfile(catch_tip_th - catch_head_th);
+  }
 
   linear_extrude(height=catch_head_th, convexity=10)
     CatchHeadProfile();