include <BOSL2/std.scad>
sphere_d = 35;
t = 1.5;
hole_d = 11;

tab_t = 5;
tab_w = 5;
tab_l = 7;

tab_e_w = tab_w + 1;
tab_e_l = 2;
tab_e_r = 1;

cut_t = 0.5;

$fn=360;
difference() {
  union() {
    sphere(d=sphere_d);
    cuboid([sphere_d + 2 * tab_l,tab_t,tab_w], rounding=1);
    for(i=[-sphere_d-2*tab_l + 1, sphere_d+2*tab_l - 1]) {
      left(i/2) cuboid([tab_e_l,tab_e_w,tab_e_w], rounding=tab_e_r);
    }
  }
  sphere(d=sphere_d-2*t);
  cyl(d=hole_d, h=2*sphere_d);
  cuboid([sphere_d*3,cut_t,sphere_d*3]);
}