chiark / gitweb /
poster-tube-lid: LimitForHandling: lobe parts
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Oct 2017 00:02:42 +0000 (01:02 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 11 Oct 2017 00:02:42 +0000 (01:02 +0100)
poster-tube-lid.scad

index d0986c97801ba32b58a3ea815b10a3f45fc097cb..498a4a94603bc9411ba161d3601e4e4a0d370fdd 100644 (file)
@@ -84,6 +84,7 @@ rivet_entry_width = rivet_width + side_rivet_gap;
 jig_mark_rad = jig_mark + main_dia/2 + jig_thick;
 
 handling_dia = oring_bore + oring_thick*2 + min_wall*2;
 jig_mark_rad = jig_mark + main_dia/2 + jig_thick;
 
 handling_dia = oring_bore + oring_thick*2 + min_wall*2;
+handling_angle = 45;
 
 $fs= coarse ? 2.5 : 0.5;
 $fa= coarse ? 5 : 1;
 
 $fs= coarse ? 2.5 : 0.5;
 $fa= coarse ? 5 : 1;
@@ -210,9 +211,21 @@ module ProfilesDemo(){ ////toplevel
 }
 
 module LimitForHandling(){ ////toplevel
 }
 
 module LimitForHandling(){ ////toplevel
-  for (r=[0,180])
+  hull() for (r=[0,180])
     rotate([0,0,r]) {
     rotate([0,0,r]) {
-      
+      for (rs=[-1,+1]) {
+       for (xd=[0,1]) {
+         rotate([0,0, rs * handling_angle/2]) {
+           translate([rs * xd * main_dia/2 * tan(handling_angle/2),
+                      main_dia/2 + side_thick - main_cnr,
+                      top_z - main_cnr]) {
+             mirror([0,0,1])
+               cylinder(r= main_cnr, h=50);
+             sphere(main_cnr);
+           }
+         }
+       }
+      } 
     }
   hull() rotate_extrude(){
     translate([ handling_dia/2 - main_cnr, top_z - main_cnr ]) {
     }
   hull() rotate_extrude(){
     translate([ handling_dia/2 - main_cnr, top_z - main_cnr ]) {
@@ -233,7 +246,7 @@ module Cover(){ ////toplevel
        translate([0,0, middle_bot_z])
          cylinder(h= top_thick_middle, r = main_dia/2 - top_middle_dr + 1);
       }
        translate([0,0, middle_bot_z])
          cylinder(h= top_thick_middle, r = main_dia/2 - top_middle_dr + 1);
       }
-      %LimitForHandling();
+      LimitForHandling();
     }
     for (r=[0,180]){
       rotate([0,0, r])
     }
     for (r=[0,180]){
       rotate([0,0, r])