chiark / gitweb /
poster-tube-lid: Jig
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Oct 2017 02:14:09 +0000 (03:14 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Oct 2017 02:14:09 +0000 (03:14 +0100)
poster-tube-lid.scad

index 3c60f53..ca6ee8a 100644 (file)
@@ -32,6 +32,11 @@ bayo_slice_size = 1;
 brace_hole_width = 1.0;
 brace_above_below = 1.2;
 
+jig_thick = 1.0;
+jig_hole_dia = 3.0;
+jig_rim = 5;
+jig_mark = 5;
+
 // calculated
 
 bayo_entry_x = bayo_entry;
@@ -50,6 +55,8 @@ bayo_entry_ramp = bayo_entry + bayo_interf;
 
 rivet_entry_width = rivet_width + side_rivet_gap;
 
+jig_mark_rad = jig_mark + main_dia/2 + jig_thick;
+
 $fs=0.5;
 $fa=1;
 
@@ -179,7 +186,28 @@ module Cover(){
   }
 }
 
+module Jig(){
+  difference(){
+    union(){
+      translate([0,0, -side_height]){
+       cylinder(r= main_dia/2 + jig_thick, h= side_height + jig_thick);
+      }
+      translate([-jig_mark_rad, 0, jig_thick - jig_mark])
+       cube([jig_mark_rad*2, jig_mark, jig_mark]);
+    }
+    translate([0,0, -side_height-1])
+      cylinder(r= main_dia/2, h= side_height + 1);
+    translate([0,0, -10])
+      cylinder(r= main_dia/2 - jig_rim, h=20);
+    translate([0,0, -rivet_posn])
+      rotate([90, 0,0])
+      translate([0,0, -100])
+      cylinder(r= jig_hole_dia/2, h = 200);
+  }
+}
+
 //ProfilesDemo();
 //BayonetCutout();
 //MainProfile();
-Cover();
+//Cover();
+Jig();