catch_knob_dia = 6;
catch_knob_above_gap = 8;
+catch_knob_height = 6;
catch_pin_height = 7;
catch_stem_below_gap = 1.0;
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 - catch_pin_gap;
+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);
cppy6 = -catch_strap_width/2;
cppxC = 0.34 * sm_inner_rad * TAU;
}
}
+module CatchCore(){ /////toplevel
+ linear_extrude(height=catch_strap_thick, convexity=10)
+ CatchCoreProfile();
+
+ translate(concat(cppB,[0])) hull(){
+ translate([0,0, catch_knob_height - catch_knob_dia/2])
+ sphere(r = catch_knob_dia/2);
+ cylinder(r = catch_knob_dia/2, h = 0.1);
+ }
+}
+
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
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);