chiark / gitweb /
poster-tube-lid: Provide CatchCore (nfc)
[reprap-play.git] / poster-tube-lid.scad
index 9fc41ff059d6df2027492208e5aba8f32add4df3..cc4d297a2a9a532f95edd9e550c63d55b6013df7 100644 (file)
@@ -145,7 +145,7 @@ catch_cr = catch_knob_dia/2 + catch_stem_beside_gap;
 catch_strap_width = sm_main_width;
 catch_strap_thick = sm_main_thick;
 catch_stem_end_h = catch_stem_h;
-catch_pin_width = (rivet_entry_width * bayo_real_rad / bayo_nom_rad)
+catch_pin_width = (rivet_entry_width * sm_inner_rad / bayo_nom_rad)
                   - catch_pin_gap;
 
 echo("R ", sm_inner_rad, bayo_real_rad, bayo_nom_rad);
@@ -578,11 +578,15 @@ module CatchCoreProfile(){ ////toplevel
   }
 }
 
+module CatchCore(){ /////toplevel
+  linear_extrude(height=catch_strap_thick, convexity=10)
+    CatchCoreProfile();
+}
+
 module CatchPreDistort(){ /////toplevel
   scale(100 / sm_inner_rad)
     rotate([90,0,0])
-    linear_extrude(height=catch_strap_thick, convexity=10)
-    CatchCoreProfile();
+    CatchCore();
 }
 
 module CatchAssembly(){ /////toplevel
@@ -590,7 +594,7 @@ module CatchAssembly(){ /////toplevel
     translate([0,0, catch_strap_width])
     scale(sm_inner_rad / 100)
     import(str("poster-tube-lid,CatchPostDistort-fa",
-              (coarse ? 20 : 1),
+              (coarse ? 20 : 3),
               ".stl"),
           convexity=20);