chiark / gitweb /
scaffold-clamp-cleat: sort out toplevels
[reprap-play.git] / poster-tube-lid.scad
index 3ef360d052afb0d51c97d61812ebc349cee039bf..08127cde3bd7f137113fe1c0e384a143b9e21f1a 100644 (file)
@@ -77,18 +77,18 @@ sm_bolt_y_over = 0.5;
 
 sm_closure_cnr = 3.0;
 
-catch_stalk_h = 5.0;
+catch_stalk_h = 4.5;
 catch_stalk_len = 50;
-catch_tip_th = 5;
+catch_tip_th = 4;
 catch_head_th = 3;
 
 catch_pin_slop = 0.25; // each side, and above
-catch_pin_slop_x_extra = -0.55; // only on one side
+catch_pin_slop_x_extra = 0.0; // only on one side
 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();