chiark / gitweb /
poster-tube-lid: move bayo to centre opening on axis
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Oct 2017 23:42:24 +0000 (00:42 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 10 Oct 2017 23:42:24 +0000 (00:42 +0100)
poster-tube-lid.scad

index f2056fd..4c72ad2 100644 (file)
@@ -30,7 +30,7 @@ oring_bore = 62.0;
 oring_upper_embed_angle = 80;
 oring_compress = 0.05; // proportion
 
-oring_rm_beside = 5;
+oring_rm_beside = 8;
 oring_rm_scale = 2.0;
 oring_rm_angle = 20;
 
@@ -200,6 +200,7 @@ module BayonetCutout(){
   RotateProject(bayo_c[0], bayo_i[0], bayo_slice_size,
                main_dia/2 + side_thick, 
                main_dia/2 + rivet_tall)
+    translate([-0.5 * (bayo_a[0] + bayo_d[0]), 0])
     polygon(bayo_polygon, convexity=10);
 }
 
@@ -230,7 +231,7 @@ module Cover(){ ////toplevel
       rotate([0,0, r])
        translate([0,0, -side_height])
        BayonetCutout();
-      rotate([0,0, r + asin((bayo_d[0] - oring_rm_beside) / (main_dia/2))])
+      rotate([0,0, r + asin((-oring_rm_beside) / (main_dia/2))])
        translate([0,
                   oring_mid_dia/2 + oring_thick/4 * oring_rm_scale,
                   oring_y_rad * 1.5])