chiark / gitweb /
poster-tube-lid: fix over_rivet_gap confusion
[reprap-play.git] / poster-tube-lid.scad
index b202b5db87c27badfdb1a76ae93dcdcca11a2c1b..8c53a57029912f94263669733793b771cd67b9bf 100644 (file)
@@ -10,7 +10,7 @@ rivet_thick = 1.67;
 rivet_width = 4.15 + 1.0;
 rivet_tall = 5.51 + 0.49;
 
-over_rivet_gap = 1.0;
+over_rivet_wall = 0.5;
 side_rivet_gap = 1.5;
 
 bayo_interf = 0.75;
@@ -35,12 +35,12 @@ bayo_inramp_x = bayo_entry;
 bayo_inramp_z = bayo_entry;
 
 side_height = rivet_posn + bayo_behind + rivet_thick/2;
-side_thick = rivet_tall + over_rivet_gap;
+side_thick = rivet_tall + over_rivet_wall;
 
 top_z = top_thick + seal_thick;
 
 bayo_entry = bayo_behind / 3.0;
-bayo_top_z = bayo_behind + rivet_thick + over_rivet_gap;
+bayo_top_z = bayo_behind + rivet_thick + bayo_above_gap;
 bayo_entry_ramp = bayo_entry + bayo_interf;
 
 rivet_entry_width = rivet_width + side_rivet_gap;
@@ -58,7 +58,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 + over_rivet_gap ];
+bayo_h = [ bayo_i[0], bayo_behind + rivet_thick + bayo_above_gap ];
 bayo_g = [ bayo_m[0] - rivet_width, bayo_h[1] ];
 
 bayo_e = [-bayo_p[0], bayo_p[1]] - [rivet_entry_width,0];
@@ -110,6 +110,14 @@ module MainProfile(){
           ]);
 }
 
-translate([-20,0]) MainProfile();
+module BayonetCutout(){
+  polygon(bayo_polygon);
+}
+
+module ProfilesDemo(){
+  translate([-20,0]) MainProfile();
+  polygon(bayo_polygon);
+}
 
-polygon(bayo_polygon);
+//ProfilesDemo();
+BayonetCutout();