3 main_dia = 71.2 + 0.50;
10 rivet_width = 4.15 + 1.0;
11 rivet_tall = 5.51 + 0.49;
13 over_rivet_wall = 0.5;
18 bayo_interf_width = 2.0;
19 bayo_interf_slope = 0.75;
22 seal_recess = [ 2.0, 2.0 ]; // recess depth, recess height
28 bayo_entry = bayo_behind/3;
34 bayo_entry_x = bayo_entry;
35 bayo_entry_z = bayo_entry;
36 bayo_inramp_x = bayo_entry;
37 bayo_inramp_z = bayo_entry;
39 side_height = rivet_posn + bayo_behind + rivet_thick/2;
40 side_thick = rivet_tall + over_rivet_wall;
42 top_z = top_thick + seal_thick;
44 bayo_entry = bayo_behind / 3.0;
45 bayo_top_z = bayo_behind + rivet_thick + bayo_above_gap;
46 bayo_entry_ramp = bayo_entry + bayo_interf;
48 rivet_entry_width = rivet_width + side_rivet_gap;
55 bayo_a = [ bayo_entry_x, 0 ];
56 bayo_p = [ 0, bayo_entry_z ];
57 bayo_n = [ 0, bayo_behind-bayo_inramp_z ];
58 bayo_m = [ bayo_inramp_x, bayo_behind ];
59 bayo_l = bayo_m + bayo_interf * [ 1/bayo_interf_slope, 1 ];
60 bayo_k = bayo_l + [ bayo_interf_width, 0 ];
61 bayo_j = bayo_k + bayo_interf * [ 1/bayo_interf_slope, -1 ];
62 bayo_i = bayo_j + [ rivet_width, 0 ];
63 bayo_h = [ bayo_i[0], bayo_behind + rivet_thick + bayo_above_gap ];
64 bayo_g = [ bayo_m[0] - rivet_width, bayo_h[1] ];
66 bayo_e = [-bayo_p[0], bayo_p[1]] - [rivet_entry_width,0];
67 bayo_d = [-bayo_a[0], bayo_a[1]] - [rivet_entry_width,0];
68 bayo_c = bayo_d + [0,-5];
69 bayo_b = bayo_a + [0,-5];
71 bayo_f = [ bayo_e[0], bayo_g[1] + (bayo_e[0] - bayo_g[0]) ];
73 bayo_polygon = [ bayo_a,
92 main_cnr_pos = [ side_thick, top_z ] - [1,1]*main_cnr;
93 translate(main_cnr_pos){
97 circle(r = main_cnr * 0.5);
102 polygon([[ -1, seal_thick ],
104 [ main_cnr_pos[0], top_z ],
105 [ side_thick, main_cnr_pos[1] ],
106 [ side_thick, -side_height ],
107 [ side_taper, -side_height ],
109 [ 0, -(seal_recess[0] + seal_recess[1]) ],
110 [ seal_recess[0], -(seal_recess[0]) ],
111 [ seal_recess[0], seal_thick ],
115 module BayonetCutoutSlice(offset){
116 rotate([0,0, atan2(offset, main_dia/2 + side_thick) ]){
118 translate([-offset, -10, 0])
120 linear_extrude(height= main_dia*2)
121 polygon(bayo_polygon);
122 translate([0,0, -25])
123 cylinder(h=50, r= main_dia/2 + rivet_tall);
124 #translate([0,0, -25])
125 linear_extrude(height= 50)
127 [ -bayo_slice_size, -main_dia ],
128 [ +bayo_slice_size, -main_dia ] ]);
133 module BayonetCutout(){
134 offs = [ for (i=[ bayo_c[0] :
136 bayo_i[0] + bayo_slice_size ]) i ];
140 //[ -20 : bayo_slice_size : 20 ]
142 translate([ off * 5, 0,0 ])
144 BayonetCutoutSlice(off);
148 module ProfilesDemo(){
149 translate([-20,0]) MainProfile();
150 polygon(bayo_polygon);