$fn = 100;

// Head
head_length=57.13;
head_width=26.13;
head_thickness=2.4;
head_radius_corners=(44.65 - 35.6) /2.0;

module loch() {
    cylinder(r=(0.15*25.4/2), h=10, center=true);
    cylinder(r1=(0.23*25.4/2), r2=(0.15*25.4/2), h=((0.23-0.15)*25.4/2), center=true);
}

module switch() {
    cube([9.2,13.8,5],center = true);
}

module usb() {
    cube([8,3.2,5],center = true);
}

module antenne() {
    cylinder(d=6.5, h=10, center=true);
}

color("red")
    difference() {
        minkowski() {
          cube([head_length - (2 * head_radius_corners),head_width - (2 *     head_radius_corners),head_thickness], center=true);
          cylinder(r=head_radius_corners, h=0.1, center=true);
        };
        translate([-48.15/2,0,0-((0.23-0.15)*25.4/2)]) loch();
        translate([48.15/2,0,0-((0.23-0.15)*25.4/2)]) loch();
        translate([-11.4-0.3-(8.3/2),-2.5]) switch();
        translate([0,1,0]) usb();
        translate([16,0,0]) antenne();
    }
           
