3 // Print, for each end:
13 enable_head_cups = false;
15 main_dia = 71.2 + 0.50 - 2.26;
17 top_thick_by_oring = 3.0;
24 rivet_posn = 6.0 + 0.30;
26 rivet_width = 4.15 + 1.0;
27 rivet_tall = 5.51 + 1.49;
29 over_rivet_wall = 1.0;
31 inside_rivet_gap = 1.5;
35 bayo_interf_width = 2.0;
36 bayo_interf_slope = 0.5;
41 oring_upper_embed_angle = 80;
42 oring_compress = 0.1; // proportion
43 oring_compress_more = 0.2;
56 bayo_slice_size = coarse ? 5 : 1;
58 brace_hole_width = 1.0;
59 brace_above_below = 1.2;
60 brace_end_shorter = 0.3;
68 strap_loop_inside = 10;
69 strap_loop_strlen = 10;
70 strap_loop_elevation = 45;
72 sm_inner_circum = 218 - 1.90 - 1.00 - 0.50;
76 sm_bolt_dia = 3.5 + 0.1;
78 sm_bolt_head_dia = 6.94 + 1.0;
79 sm_bolt_head_thick = 2.14;
80 sm_bolt_nut_width = 5.89 + 0.25;
81 sm_bolt_nut_thick = 3.68;
82 sm_bolt_tighten_allow = 2.0;
84 sm_bolt_y_clear = 0.75;
90 wm_screw_dia = 4.5; // XXX
91 wm_screwdriver_dia = 6.0; // XXX
92 wm_screw_around = 4.0; // XXX
94 wm_screw_head = 7.5; // XXX
97 wmb_screw_head_dia = 10; // XXX
98 wmb_screw_around_x = 4; // XXX
99 wmb_screw_around_z = 6; // XXX
100 wmb_screw_depth_min = 10;
101 web_screw_len = 15 + 1; // XXX
102 wmb_nut_across = 8; // XXX
103 wmb_nut_around_min = 2; // XXX
104 wmb_nut_behind_min = 5;
105 wmb_nut_th = 4; // XXX
106 wmb_mount_wall = 4.5;
107 wmb_mount_gap_xy = 0.5;
108 wmb_mount_gap_z = 0.5;
109 wmb_mount_y_width = 10;
110 wmb_bottom_gap = 35; // includes allowance for padding, etc.
112 wmb_bottom_th_min = 1;
114 wmb_base_extra_rad = 10;
117 catch_stalk_len = 50;
121 catch_pin_slop = 0.25; // each side, and above
122 catch_pin_slop_x_extra = 0.0; // only on one side
123 catch_stalk_above_gap = 1.5;
124 catch_stalk_eff_bend_rad = catch_stalk_len * 0.75;
126 catch_strap_width = 12;
127 catch_stalk_base_width = 15;
130 catch_knob_above_gap = 5;
131 catch_knob_height = 3.0;
133 catch_stalk_below_gap = 1.0;
134 catch_stalk_beside_gap = 2.0;
140 bayo_entry_x = bayo_entry;
141 bayo_entry_z = bayo_entry;
142 bayo_inramp_x = bayo_inramp;
143 bayo_inramp_z = bayo_inramp;
145 oring_mid_dia = oring_bore + oring_thick;
146 oring_outer_dia = oring_mid_dia + oring_thick;
148 oring_oblate = (1 - oring_compress);
150 oring_y_rad = oring_thick/2 * oring_oblate;
151 oring_x_rad = oring_thick/2 / oring_oblate;
153 by_oring_z = oring_y_rad * (1 + cos(oring_upper_embed_angle));
155 side_height = rivet_posn + bayo_behind + rivet_thick/2;
156 side_thick = rivet_tall + over_rivet_wall;
158 top_z = top_thick_by_oring + oring_y_rad + by_oring_z;
160 middle_bot_z = top_z - top_thick_middle;
162 bayo_top_z = bayo_behind + bayo_gap;
164 bayo_nom_rad = main_dia/2 + side_thick;
165 bayo_real_rad = main_dia/2 + rivet_tall;
167 rivet_entry_width = rivet_width + side_rivet_gap;
169 jig_mark_rad = jig_mark + main_dia/2 + jig_thick;
171 handling_dia = oring_bore + oring_thick*2 + min_wall*2;
174 sm_inner_rad = (sm_inner_circum + sm_bolt_tighten_allow/2) / TAU;
175 sm_outer_rad = sm_inner_rad + sm_main_thick;
177 wm_main_width = sm_main_width;
178 wm_y_min = sqrt( pow(sm_inner_rad, 2) -
179 pow(sm_inner_rad - (wm_thick - sm_main_thick), 2) );
180 wm_y_screw = wm_y_min + wm_screw_around + wm_screw_dia/2;
181 wm_y_max = wm_y_screw + wm_screw_dia/2 + wm_screw_around;
182 wm_y_slotc_screw = wm_y_screw + wm_screw_slot/2;
183 wm_y_slot1_screw = wm_y_screw + wm_screw_slot;
184 wm_y_slot1_max = wm_y_max + wm_screw_slot;
185 wm_z_slot0_screw = wm_main_width + wm_screwdriver_dia/2;
186 wm_z_slotc_screw = wm_z_slot0_screw + wm_screw_slot/2;
187 wm_z_slot1_screw = wm_z_slot0_screw + wm_screw_slot;
188 wm_z_max = wm_z_slot1_screw + wm_screw_around;
190 wmb_mount_cut_rad = sm_outer_rad + wmb_ring_gap;
191 wmb_nut_rad = wmb_nut_across / cos(30) * 0.5;
192 wmb_x_screw_plus_around_r = max(
193 wmb_screw_around_x + wmb_screw_dia/2,
194 wmb_nut_around_min + wmb_nut_across/2
196 wmb_x_screw = -sm_outer_rad + wmb_x_screw_plus_around_r;
197 wmb_x_outer = -sm_outer_rad + wmb_x_screw_plus_around_r * 2;
198 function wmb_screw_thing_y_min(dia) = sqrt(
199 pow(wmb_mount_cut_rad, 2) -
200 pow(wmb_x_screw + dia/2, 2)
202 wmb_y_screw_end = wmb_screw_thing_y_min(wmb_screw_dia);
203 wmb_y_nut_min = wmb_screw_thing_y_min(wmb_nut_across + wmb_nut_around_min*2);
204 wmb_y_mount_max = max(
205 wmb_y_nut_min + wmb_nut_th + wmb_nut_behind_min,
206 wmb_y_screw_end + wmb_screw_depth_min
209 wmb_screw_around_z + wmb_screw_dia/2,
210 wmb_nut_around_min + wmb_nut_rad
212 wmb_z_max = wmb_z_screw * 2;
213 wmbb_y_max = wmb_y_mount_max + wmb_mount_gap_xy + wmb_mount_wall;
214 wmbb_x_outer = wmb_x_outer + (wmb_mount_gap_xy + wmb_mount_wall);
215 wmbb_z_flat_max = -wmb_bottom_gap;
216 wmbb_z_flat_whole_min = wmbb_z_flat_max - wmb_bottom_th_min;
217 wmbb_z_min = wmbb_z_flat_max - wmb_bottom_th;
219 smc_pos = [ 0, sm_inner_rad, 0 ];
221 smc_bolt_nut_dia = sm_bolt_nut_width / cos(30);
222 smc_bolt_nut_eff_thick = sm_bolt_nut_thick + sm_bolt_tighten_allow;
224 smc_bolt_y = sm_bolt_dia/2 + sm_bolt_y_clear;
225 smc_max_y = smc_bolt_y + sm_bolt_y_over
226 + max(sm_bolt_head_dia/2, smc_bolt_nut_dia/2);
227 smc_cnr_c_x = sm_bolt_shaft/2 - sm_closure_cnr
228 + sm_bolt_head_thick/2 + smc_bolt_nut_eff_thick/2;
230 catch_cr = catch_knob_dia/2 + catch_stalk_beside_gap;
231 catch_strap_thick = sm_main_thick;
233 echo("R ", sm_inner_rad, bayo_real_rad, bayo_nom_rad);
235 $fs= coarse ? 2.5 : 0.5;
238 include <poster-tube-lid-parametric.scad>
240 // bayonet definition
242 bayo_a = [ bayo_entry_x, 0 ];
243 bayo_p = [ 0, bayo_entry_z ];
244 bayo_n = [ 0, bayo_behind-bayo_inramp_z ];
245 bayo_m = [ bayo_inramp_x, bayo_behind ];
246 bayo_l = bayo_m + bayo_interf * [ 1/bayo_interf_slope, 1 ];
247 bayo_k = bayo_l + [ bayo_interf_width, 0 ];
248 bayo_j = bayo_k + bayo_interf * [ 1/bayo_interf_slope, -1 ];
249 bayo_i = bayo_j + [ rivet_width + inside_rivet_gap, 0 ];
250 bayo_h = [ bayo_i[0], bayo_behind + bayo_gap + bayo_interf ];
251 bayo_g = [ bayo_m[0] - rivet_width, bayo_h[1] ];
253 bayo_e = [-bayo_p[0], bayo_p[1]] - [rivet_entry_width,0];
254 bayo_d = [-bayo_a[0], bayo_a[1]] - [rivet_entry_width,0];
255 bayo_c = bayo_d + [0,-5];
256 bayo_b = bayo_a + [0,-5];
258 bayo_f = [ bayo_e[0], bayo_g[1] + (bayo_e[0] - bayo_g[0]) ];
260 bayo_polygon = [ bayo_a,
280 cppxC = 0.41 * sm_inner_rad * TAU;
284 cpp_adj = (bayo_n[0] - bayo_f[0]) * (1 - sm_inner_rad / bayo_nom_rad);
285 // radius scaling due to nom and actual radius difference in
286 // bayo entry construction
288 cppa = bayo_f + [1,-1] * catch_pin_slop + [1,0] * cpp_adj;
289 cppb = bayo_g + [1,-1] * catch_pin_slop + [1,0] * cpp_adj;
291 - catch_pin_slop - catch_pin_slop_x_extra,
292 -catch_stalk_above_gap ];
293 cppi = [ cppa[0], cppd[1] ];
294 cppc = [ cppd[0], cppb[1] ];
295 cpph = cppd + [0,-1] * catch_stalk_h;
296 cppe = cppd + [0,-1] * (catch_knob_above_gap + catch_knob_dia/2);
297 cppf = [ cppa[0], cppe[1] ];
298 cppg = [ cppa[0], cpph[1] ];
299 cppB = 0.5 * (cppf + cppe);
301 echo("RR", sm_inner_rad / bayo_nom_rad);
303 // catch assembly depression below pin
305 cppy6 = cppB[1] - (catch_knob_dia/2
306 + (cppc[1] - cppd[1])
307 + catch_stalk_below_gap);
308 cpp7 = [ cppB[0], cppy6 + catch_cr ];
309 cpp11 = cpp7 + [1,0] * catch_cr;
310 cppy9 = cppy6 + catch_strap_width * 1/3;
311 cpp9 = [ cpp7[0] + catch_cr * 2, cppy9 ];
312 cpp8 = cpp9 + [0,-1] * catch_cr;
313 cpp10 = cpp8 + [-1,0] * catch_cr;
314 cppC = [ cppxC, cpp9[1] ];
315 cppD = cppC + [0,-1] * catch_strap_width;
317 // catch assembly stalk and so on
319 catch_cr3 = catch_cr + catch_stalk_h;
321 cppF = [ cppg[0] - catch_stalk_eff_bend_rad, cppd[1] ];
322 cpp4 = [ cppg[0] - catch_stalk_len, cpph[1] ] + [1,-1] * catch_cr;
323 cpp5 = [ cpp4[0], cppC[1] + catch_cr ];
324 cpp2 = cpp5 + [-1,0] * (catch_cr * 2 + catch_stalk_base_width);
325 cpp2r = cpp2 + [1,0] * catch_cr;
326 cpp2d = cpp2 + [0,-1] * catch_cr;
327 cpp3 = [ cpp2[0] + catch_cr + catch_cr3, cppd[1] - catch_cr3 ];
328 cppA = [ -cppxC, cpp9[1] ];
329 cppE = [ cppA[0], cppD[1] ];
331 catch_assembly_dy = -cppy9 + catch_strap_width;
334 module MainProfile(){
335 main_cnr_pos = [ side_thick, top_z ] - [1,1]*main_cnr;
338 translate(main_cnr_pos){
341 circle(r = main_cnr);
342 circle(r = main_cnr * 0.5);
347 polygon([[ -top_middle_dr, middle_bot_z ],
348 [ -top_middle_dr, top_z ],
349 [ main_cnr_pos[0], top_z ],
350 [ side_thick, main_cnr_pos[1] ],
351 [ side_thick, -side_height ],
352 [ side_taper, -side_height ],
355 [ -oring_x_rad, by_oring_z ],
359 translate([ oring_mid_dia/2 - main_dia/2, 0 ])
361 translate([ 0, oring_y_rad ])
362 scale([ 1/oring_oblate * (oring_compress_more+1) , oring_oblate ])
363 circle(oring_thick/2);
364 translate([ 0, oring_y_rad*2 - oring_thick/2 ])
365 circle(oring_thick/2);
370 module StrapLoopProfile(){
371 circle(r = strap_loop_thick/2);
374 module StrapLoop(){ ////toplevel
375 bigrad = strap_loop_inside/2 + strap_loop_thick/2;
376 extralen = strap_loop_thick * 5;
379 rotate([strap_loop_elevation, 0,0]){
380 for (x= [ -1, +1 ] * bigrad) {
381 translate([x, -extralen, 0])
383 linear_extrude(height= extralen + strap_loop_strlen + 0.1,
387 translate([0, strap_loop_strlen, 0]){
389 rotate_extrude(convexity=10)
390 translate([bigrad, 0,0])
393 cube([100,100,100], center=true);
397 translate([0, 50, 0])
398 cube(100, center=true);
402 module RotateProjectSlice(offset, slice_size, nom_rad, real_rad){
403 // nom_rad > real_rad
404 rotate([0,0, atan2(offset, nom_rad) ]){
406 translate([-offset, -10, 0])
408 linear_extrude(height= nom_rad*2, convexity=50)
410 translate([0,0, -25])
411 cylinder(h=50, r= real_rad);
412 translate([0,0, -25])
413 linear_extrude(height= 50, convexity=50)
415 [ -slice_size, -real_rad*2 ],
416 [ +slice_size, -real_rad*2 ] ]);
421 module RotateProject(x_min, x_max, slice_size, nom_rad, real_rad){
422 offs = [ for (i=[ x_min :
424 x_max + slice_size ]) i ];
427 RotateProjectSlice(off, slice_size, nom_rad, real_rad)
431 module BayonetCutout(){
432 RotateProject(bayo_c[0], bayo_i[0], bayo_slice_size,
435 translate([-0.5 * (bayo_a[0] + bayo_d[0]), 0])
436 polygon(bayo_polygon, convexity=10);
439 module ProfilesDemo(){ ////toplevel
440 translate([-10,0]) MainProfile();
441 translate([+10, -side_height]) polygon(bayo_polygon, convexity=10);
444 module LimitForHandling(){ ////toplevel
445 hull() for (r=[0,180])
449 rotate([0,0, rs * handling_angle/2]) {
450 translate([rs * xd * main_dia/2 * tan(handling_angle/2),
451 main_dia/2 + side_thick - main_cnr,
454 cylinder(r= main_cnr, h=50);
461 hull() rotate_extrude(convexity=10){
462 translate([ handling_dia/2 - main_cnr, top_z - main_cnr ]) {
463 circle(r = main_cnr);
464 mirror([0,1]) square([ main_cnr, 50 ]);
467 //cylinder(r= handling_dia/2, h=20);
470 module Cover(){ ////toplevel
471 render() difference(){
474 rotate_extrude(convexity=10)
475 translate([main_dia/2, 0])
477 translate([0,0, middle_bot_z])
478 cylinder(h= top_thick_middle, r = main_dia/2 - top_middle_dr + 1);
484 translate([0,0, -side_height])
486 rotate([0,0, r + asin((-oring_rm_beside) / (main_dia/2))])
488 oring_mid_dia/2 + oring_thick/4 * oring_rm_scale,
490 rotate([-oring_rm_angle, 0, 0])
492 cylinder(r = oring_thick/4 * oring_rm_scale, h=20);
494 for (r=[0 : 60 : 179]) {
496 height = top_thick_middle - brace_above_below*2;
497 translate([0,0, middle_bot_z + brace_above_below + height/2 ])
498 cube(center=true, [ oring_bore - brace_end_shorter,
499 brace_hole_width, height ]);
503 if (enable_head_cups)
506 translate([-implheadcup_large_dia * .5 - implheadcup_thick/2,
507 -implheadcup_large_dia * .0,
511 // translate(strap_loop_thick * [-0.5, 0, +1])
512 // translate([handling_dia/2, 0, -side_height])
513 // rotate([0,180,0]) rotate([0,0,90])
518 translate([0,0, -10])
519 cylinder(r= main_dia/2 - jig_rim, h=20);
522 module Jig(){ ////toplevel
525 translate([0,0, -side_height]){
526 cylinder(r= main_dia/2 + jig_thick, h= side_height + jig_thick);
528 translate([-jig_mark_rad, 0, jig_thick - jig_mark])
529 cube([jig_mark_rad*2, jig_mark, jig_mark]);
531 translate([0,0, -side_height-1])
532 cylinder(r= main_dia/2, h= side_height + 1);
534 translate([0,0, -rivet_posn])
536 translate([0,0, -100])
537 cylinder(r= jig_hole_dia/2, h = 200);
541 module CoverPrint(){ ////toplevel
542 rotate([0,180,0]) Cover();
545 module CoverTest2(){ ////toplevel
552 module CoverTest1(){ ////toplevel
556 for (r= [ 40, 147 ]){
558 translate([0,0, -10]) {
559 cube([ main_dia*3, main_dia * .53, 18], center=true);
563 // translate([ 50, 0, 0 ])
565 // strap_loop_inside + strap_loop_thick*2 + 1,
572 module ImplHeadCupTest(){ ////toplevel
579 module SomeStrap(width, cut_width=0){
580 // children(0) is to add, (1) subtract
583 cylinder(r=sm_outer_rad, h=width);
584 StrapMountProtrusion(smc_cnr_c_x + sm_closure_cnr,
591 cylinder(r=sm_inner_rad, h=max(width+2, cut_width));
593 StrapMountBolt(10, width);
595 cube([ sm_bolt_tighten_allow, 40,100 ], center=true);
600 module StrapMountBolt(l_delta, strap_width){ ///toplevel
601 // positioned relative to smc_pos
602 translate([(smc_bolt_nut_eff_thick - sm_bolt_head_thick)/2,
605 translate([ -sm_bolt_shaft/2-1, 0,0 ]){
606 rotate([0,90,0]) cylinder(r= sm_bolt_dia/2, h= sm_bolt_shaft+2);
608 translate([ -sm_bolt_shaft/2, 0,0 ])
610 cylinder($fn=6, r=smc_bolt_nut_dia/2,
611 h=smc_bolt_nut_eff_thick + l_delta);
612 translate([ sm_bolt_shaft/2, 0,0 ])
614 cylinder(r=sm_bolt_head_dia/2, h=sm_bolt_head_thick + l_delta);
618 module StrapMountProtrusion(half_x, max_y, cnr, width){
620 linear_extrude(height=width, convexity=10){
622 for (m = [0,1]) mirror([m,0,0]) {
623 translate([-(half_x - cnr), max_y - cnr])
625 translate([-half_x, -sm_inner_rad])
633 module StrapMount(){ ////toplevel
634 SomeStrap(sm_main_width){
636 StrapMountProtrusion(strap_loop_inside/2 + strap_loop_thick,
641 [0,0, sm_main_width] +
642 strap_loop_thick * [ 0, 0.5, -1.0 ])
649 module WallScrewHoleSlot(){ ////toplevel
650 ds = [-1,+1] * wm_screw_slot/2;
651 linextr_x_yz(-(wm_thick + 1), 1) {
655 circle(r = wm_screw_dia/2);
660 translate([0, d, 0]){
662 circle(r = wm_screw_head/2);
663 linextr_x_yz(-(wm_screw_head - wm_screw_dia)/2, 0)
664 circle(r = wm_screw_dia/2);
670 module WallMountMounts(){
671 linextr(0, wm_z_max){
672 translate([ -sm_outer_rad, 0 ])
673 rectfromto([ 0, -wm_y_max ],
674 [ wm_thick, wm_y_slot1_max ]);
677 module WallMountScrewHoles(){
678 translate([ -sm_outer_rad + wm_thick, 0, wm_z_slotc_screw]) {
679 translate([ 0, wm_y_slotc_screw, 0 ])
681 translate([ 0, -wm_y_slotc_screw, 0 ])
687 module WallMount(){ ////toplevel
688 SomeStrap(sm_main_width, wm_z_max + 2){
690 WallMountScrewHoles();
694 module WallMountBaseRingCut(){
695 circle(r = wmb_mount_cut_rad);
698 module WallMountBaseMounts(){
699 linextr(0, wmb_z_max) {
701 rectfromto([ -sm_outer_rad, -wmb_y_mount_max ],
702 [ wmb_x_outer, +wmb_y_mount_max ]);
703 WallMountBaseRingCut();
708 // screws, nuts, slots for nuts to go down into
709 module WallMountBaseScrewsEtc(){ ////toplevel
712 translate([wmb_x_screw, 0, wmb_z_screw]) {
713 linextr_y_xz(wmb_y_screw_end,
714 wmb_y_screw_end + 100) // XXX change 100
715 circle(r = wmb_screw_dia/2);
716 linextr_y_xz(wmb_y_screw_end + web_screw_len,
717 wmb_y_screw_end + 100) // XXX change 100
718 circle(r = wmb_screw_head_dia/2);
719 linextr_y_xz(wmb_y_nut_min,
720 wmb_y_nut_min + wmb_nut_th) {
723 circle(r = wmb_nut_rad, $fn = 6);
724 translate([0, 100]) // XXX change 100
725 square(wmb_nut_across, center=true);
733 module WallMountForBase(){ ////toplevel
734 SomeStrap(sm_main_width, wm_z_max + 2){
737 WallMountBaseMounts();
740 WallMountScrewHoles();
741 WallMountBaseScrewsEtc();
746 module WallMountBasePillarsPlan(){
749 rectfromto([ -sm_outer_rad, wmbb_y_max - wmb_mount_y_width ],
750 [ wmbb_x_outer, wmbb_y_max ]);
755 module WallMountBase(){ ////toplevel
758 // vertical blocks rising to join to wall mount
759 linextr(wmbb_z_min, wmb_z_max) {
761 WallMountBasePillarsPlan();
762 WallMountBaseRingCut();
767 linextr(wmbb_z_flat_whole_min, wmbb_z_flat_max)
768 circle(r = main_dia/2 + wmb_base_extra_rad);
769 linextr(wmbb_z_min, wmbb_z_flat_max)
770 circle(r = main_dia/2 + wmb_base_extra_rad -
771 (wmb_bottom_th - wmb_bottom_th_min));
775 // cutaway for mount part
776 linextr(-wmb_mount_gap_z, wmb_z_max+1) {
779 rectfromto([ -sm_outer_rad-1, wmb_y_mount_max + wmb_mount_gap_xy ],
780 [ wmb_x_outer + wmb_mount_gap_xy, 1 ]);
784 WallMountBaseScrewsEtc();
788 module WallMountForBaseDemo(){ ////toplevel
789 render() WallMountForBase();
790 color("blue") render() WallMountBase();
791 %WallMountBaseScrewsEtc();
794 module CatchAssemblyCoreProfile(){
798 translate(cpp3) circle(r= catch_cr3);
817 translate(cpp8) circle(r= catch_cr);
820 translate(cpp4) circle(r= catch_cr);
821 translate(cpp5) circle(r= catch_cr);
822 translate(cpp7) circle(r= catch_cr);
830 translate(cpp2) circle(r= catch_cr);
832 // if cpp11 is above cpp10, the subtracted hull above
833 // can go down too far. Ensure we do not cut off below cppy6.
838 [ cpp7[0] - catch_cr, cppy6 ],
843 module CatchTipProfile(dy){
848 // circle(r = dist2d(cppF, cppd));
849 //circle(r = dist2d(cppF, cppa));
860 module CatchHeadProfile(){
870 module CatchCore(){ /////toplevel
871 linear_extrude(height=catch_strap_thick, convexity=10)
872 CatchAssemblyCoreProfile();
875 linear_extrude(height=catch_head_th, convexity=10)
877 linear_extrude(height=catch_tip_th, convexity=10)
878 CatchTipProfile(catch_tip_th - catch_head_th);
881 linear_extrude(height=catch_head_th, convexity=10)
884 translate(concat(cppB,[0])) hull(){
885 translate([0,0, catch_knob_height + catch_head_th - catch_knob_dia/2])
886 sphere(r = catch_knob_dia/2);
887 cylinder(r = catch_knob_dia/2, h = 0.1);
891 module CatchPreDistort(){ /////toplevel
892 scale(100 / sm_inner_rad)
897 module CatchAssembly(){ /////toplevel
898 rotate([0,0, -(cppe[0] + cppB[0] + catch_pin_slop) / sm_inner_rad * 360/TAU])
899 translate([0,0, catch_assembly_dy])
900 scale(sm_inner_rad / 100)
901 import(str("poster-tube-lid,CatchPostDistort-fa",
906 SomeStrap(catch_strap_width){
909 translate([-200, -200, -200])
910 cube([400, 200, 400]);
915 module CatchDemo(){ /////toplevel
916 color("blue") translate([0,0,
920 translate([0,0,+side_height
925 module CatchDemoS(){ /////toplevel
926 color("blue") translate([0,0,
931 translate([0,0,+side_height
934 mirror([0,1,0]) translate([-250,33,0]) cube([500,500,500]);
938 cube([6.15, 2,2], center=true);
941 module CatchPinProfileDemo(){ /////toplevel
942 translate([0, 0 * -bayo_behind,0]) {
944 bayo_n[0] - bayo_e[0]);
945 color("blue") translate([0,0,
948 CatchAssemblyCoreProfile();
955 polygon(bayo_polygon, convexity=10);
957 // adhoc show a position
962 )) difference(){ circle(2.5); circle(2.0); }