chiark / gitweb /
poster-tube-lid: Introduce bayo_*_rad (nfc)
[reprap-play.git] / poster-tube-lid.scad
index dcb18b3df29725ab385a53acf77ab1f74f251e1c..2e8209f0430e9e3ca591dce15c9d05e35c96275f 100644 (file)
@@ -117,6 +117,9 @@ middle_bot_z = top_z - top_thick_middle;
 bayo_entry = bayo_behind / 3.0;
 bayo_top_z = bayo_behind + bayo_gap;
 
+bayo_nom_rad = main_dia/2 + side_thick;
+bayo_real_rad = main_dia/2 + rivet_tall;
+
 rivet_entry_width = rivet_width + side_rivet_gap;
 
 jig_mark_rad = jig_mark + main_dia/2 + jig_thick;
@@ -318,8 +321,8 @@ module RotateProject(x_min, x_max, slice_size, nom_rad, real_rad){
 
 module BayonetCutout(){
   RotateProject(bayo_c[0], bayo_i[0], bayo_slice_size,
-               main_dia/2 + side_thick
-               main_dia/2 + rivet_tall)
+               bayo_nom_rad
+               bayo_real_rad)
     translate([-0.5 * (bayo_a[0] + bayo_d[0]), 0])
     polygon(bayo_polygon, convexity=10);
 }
@@ -597,6 +600,17 @@ module CatchAssembly(){ /////toplevel
   }
 }
 
+module CatchDemo(){ /////toplevel
+  color("blue") translate([0,0,
+            -catch_strap_width
+            -cpp0[1]
+            ])
+    CatchAssembly();
+  translate([0,0,+side_height
+            ])
+    Cover();
+}
+
 //ProfilesDemo();
 //BayonetCutout();
 //MainProfile();