7 my $settings = <<'END';
9 main_dia = 71.2 + 0.50;
16 rivet_width = 4.15 + 1.0;
17 rivet_tall = 5.51 + 0.49;
25 seal_recess = [ 2.0, 2.0 ]; // recess depth, recess height
33 side_height = rivet_posn + bayo_behind;
34 side_thick = rivet_tall + over_rivet_gap;
36 top_z = top_thick + seal_thick;
38 bayo_entry = bayo_behind / 3.0;
39 bayo_top_z = bayo_behind + rivet_thick + over_rivet_gap;
46 bayo_polygon = [[ -bayo_entry, -5 ],
49 [ bayo_entry, bayo_entry ]];
53 my $mainbody = <<'END';
56 main_cnr_pos = [ side_thick, top_z ] - [1,1]*main_cnr;
57 translate(main_cnr_pos){
61 circle(r = main_cnr * 0.5);
66 polygon([[ -1, seal_thick ],
68 [ main_cnr_pos[0], top_z ],
69 [ side_thick, main_cnr_pos[1] ],
70 [ side_thick, -side_height ],
71 [ side_taper, -side_height ],
73 [ 0, -(seal_recess[0] + seal_recess[1]) ],
74 [ seal_recess[0], -(seal_recess[0]) ],
75 [ seal_recess[0], seal_thick ],
79 translate([-20,0]) MainProfile();
81 polygon(bayo_polygon);
85 print $settings, $mainbody or die $!;