chiark / gitweb /
poster-tube-lid: adjust rivet_posn from v3
[reprap-play.git] / poster-tube-lid.scad
index 21b29456c06a4d6053f690c5e902d3850904cdfe..9d85254bf0b1f9c0a91217a95490eadba3fae918 100644 (file)
@@ -11,7 +11,7 @@ main_cnr = 6.0;
 
 min_wall = 3;
 
-rivet_posn = 6.0 + 0.5;
+rivet_posn = 6.0 + 1.5;
 rivet_thick = 1.67;
 rivet_width = 4.15 + 1.0;
 rivet_tall = 5.51 + 1.49;
@@ -36,7 +36,7 @@ oring_rm_angle = 20;
 
 side_taper = 1.0;
 
-bayo_above_gap = 1.0;
+bayo_gap = 1.0 + 1.67;
 
 bayo_entry = bayo_behind/3;
 
@@ -76,7 +76,7 @@ top_z = top_thick_by_oring + oring_y_rad + by_oring_z;
 middle_bot_z = top_z - top_thick_middle;
 
 bayo_entry = bayo_behind / 3.0;
-bayo_top_z = bayo_behind + rivet_thick + bayo_above_gap;
+bayo_top_z = bayo_behind + bayo_gap;
 bayo_entry_ramp = bayo_entry + bayo_interf;
 
 rivet_entry_width = rivet_width + side_rivet_gap;
@@ -99,8 +99,7 @@ bayo_l = bayo_m + bayo_interf * [ 1/bayo_interf_slope,  1 ];
 bayo_k = bayo_l + [ bayo_interf_width, 0 ];
 bayo_j = bayo_k + bayo_interf * [ 1/bayo_interf_slope, -1 ];
 bayo_i = bayo_j + [ rivet_width, 0 ];
-bayo_h = [ bayo_i[0], bayo_behind + rivet_thick
-                     + bayo_above_gap + bayo_interf ];
+bayo_h = [ bayo_i[0], bayo_behind + bayo_gap + bayo_interf ];
 bayo_g = [ bayo_m[0] - rivet_width, bayo_h[1] ];
 
 bayo_e = [-bayo_p[0], bayo_p[1]] - [rivet_entry_width,0];
@@ -207,7 +206,7 @@ module BayonetCutout(){
 
 module ProfilesDemo(){ ////toplevel
   translate([-10,0]) MainProfile();
-  translate([+10,0]) polygon(bayo_polygon, convexity=10);
+  translate([+10, -side_height]) polygon(bayo_polygon, convexity=10);
 }
 
 module LimitForHandling(){ ////toplevel