// -*- C -*-
-main_dia = 71.2 + 0.50;
+main_dia = 71.2 + 0.50 - 2.26;
top_thick = 4;
main_cnr = 4.0;
brace_hole_width = 1.0;
brace_above_below = 1.2;
-jig_thick = 1.0;
+jig_thick = 1.4;
jig_hole_dia = 3.0;
jig_rim = 5;
jig_mark = 5;
[ 0, -(seal_recess[0] + seal_recess[1]) ],
[ seal_recess[0], -(seal_recess[0]) ],
[ seal_recess[0], seal_thick ],
- ]);
+ ],
+ convexity=10);
}
module RotateProjectSlice(offset, slice_size, nom_rad, real_rad){
RotateProject(bayo_c[0], bayo_i[0], bayo_slice_size,
main_dia/2 + side_thick,
main_dia/2 + rivet_tall)
- polygon(bayo_polygon);
+ polygon(bayo_polygon, convexity=10);
}
module ProfilesDemo(){
translate([-20,0]) MainProfile();
- polygon(bayo_polygon);
+ polygon(bayo_polygon, convexity=10);
}
-module Cover(){
- difference(){
+module Cover(){ ////toplevel
+ render() difference(){
union(){
- rotate_extrude()
+ rotate_extrude(convexity=10)
translate([main_dia/2, 0])
MainProfile();
translate([0,0, seal_thick])
}
}
-module Jig(){
+module SavingHole(){
+ translate([0,0, -10])
+ cylinder(r= main_dia/2 - jig_rim, h=20);
+}
+
+module Jig(){ ////toplevel
difference(){
union(){
translate([0,0, -side_height]){
}
translate([0,0, -side_height-1])
cylinder(r= main_dia/2, h= side_height + 1);
- translate([0,0, -10])
- cylinder(r= main_dia/2 - jig_rim, h=20);
+ SavingHole();
translate([0,0, -rivet_posn])
rotate([90, 0,0])
translate([0,0, -100])
}
}
+module CoverTest2(){ ////toplevel
+ difference(){
+ Cover();
+ SavingHole();
+ }
+}
+
+module CoverTest1(){ ////toplevel
+ difference(){
+ CoverTest2();
+ translate([0,0, -10])
+ cube([ main_dia*3, main_dia * .85, 20], center=true);
+ }
+}
+
//ProfilesDemo();
//BayonetCutout();
//MainProfile();
//Cover();
-Jig();
+//Jig();
+//CoverTest();