chiark / gitweb /
poster-tube-lid: LimitForHandling: central part
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Oct 2017 23:49:19 +0000 (00:49 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Oct 2017 23:49:19 +0000 (00:49 +0100)
poster-tube-lid.scad

index 4c72ad2..d0986c9 100644 (file)
@@ -214,18 +214,26 @@ module LimitForHandling(){ ////toplevel
     rotate([0,0,r]) {
       
     }
-  cylinder(r= handling_dia/2, h=20);
+  hull() rotate_extrude(){
+    translate([ handling_dia/2 - main_cnr, top_z - main_cnr ]) {
+      circle(r = main_cnr);
+      mirror([0,1]) square([ main_cnr, 50 ]);
+    }
+  }
+  //cylinder(r= handling_dia/2, h=20);
 }
 
 module Cover(){ ////toplevel
-  %LimitForHandling();
   render() difference(){
-    union(){
-      rotate_extrude(convexity=10)
-       translate([main_dia/2, 0])
-       MainProfile();
-      translate([0,0, middle_bot_z])
-       cylinder(h= top_thick_middle, r = main_dia/2 - top_middle_dr + 1);
+    intersection(){
+      union(){
+       rotate_extrude(convexity=10)
+         translate([main_dia/2, 0])
+         MainProfile();
+       translate([0,0, middle_bot_z])
+         cylinder(h= top_thick_middle, r = main_dia/2 - top_middle_dr + 1);
+      }
+      %LimitForHandling();
     }
     for (r=[0,180]){
       rotate([0,0, r])