chiark / gitweb /
poster-tube-lid: Add actual knob
[reprap-play.git] / poster-tube-lid.scad
index d1debf9859d61a50bba95a9c527916981522e62c..4aea76df25ea8c48bd3930a5cd4fcee7ed84cb82 100644 (file)
@@ -81,6 +81,7 @@ catch_stem_th = 3;
 
 catch_knob_dia = 6;
 catch_knob_above_gap = 8;
+catch_knob_height = 6;
 catch_pin_height = 7;
 
 catch_stem_below_gap = 1.0;
@@ -578,11 +579,21 @@ module CatchCoreProfile(){ ////toplevel
   }
 }
 
+module CatchCore(){ /////toplevel
+  linear_extrude(height=catch_strap_thick, convexity=10)
+    CatchCoreProfile();
+
+  translate(concat(cppB,[0])) hull(){
+    translate([0,0, catch_knob_height - catch_knob_dia/2])
+      sphere(r = catch_knob_dia/2);
+    cylinder(r = catch_knob_dia/2, h = 0.1);
+  }
+}
+
 module CatchPreDistort(){ /////toplevel
   scale(100 / sm_inner_rad)
     rotate([90,0,0])
-    linear_extrude(height=catch_strap_thick, convexity=10)
-    CatchCoreProfile();
+    CatchCore();
 }
 
 module CatchAssembly(){ /////toplevel