pedestal_height = 12.39;
mount_hole = 3.5;
clear = 0.175;
nut_size = 6.5;

difference () {
        translate ([-1,0,0])
        cube([50,83,pedestal_height]);

        //mount holes for ODROID U3
//      translate ([3.5,3.5,5])
//      cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10);

        translate ([3.5,3.5,0])
        rotate([0,0,90])
        cylinder (h = 5 + clear,r= nut_size/2, $fn=6);

//      translate ([3.5+41,3.5,0])
//      cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10);
        translate ([3.5+41,3.5,0])
        rotate([0,0,90])
        cylinder (h = 5 + clear,r= nut_size/2, $fn=6);


        translate ([3.5,3.5+76,0])
        cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10);


        translate ([3.5+41,3.5+76,0])
        cylinder (h = pedestal_height + clear,r= mount_hole/2, $fn=10);
    
        for (i = [1 : 7]) {
            for (j = [0 : 7]) {
                translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16,0])
                cylinder (h = 2.5, r= (nut_size+clear)/2, $fn=6);
                translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16, 2.7])  // one solid layer for slicer (the holes will be pierced on demand )
                cylinder (h = pedestal_height /3, r= mount_hole/2, $fn=10);
                translate ([3.68 + j*10.16, 10.16-1.78 + i*10.16, 6])
                cylinder (h = 10, r= nut_size/2, $fn=6);
            }
        }


        translate ([7,0,0])     // Holes for MLAB adapter connectors.
        cube([34,9.1,20]);

        translate ([-2,0, 4.7]) // Hole for MLAB  PCB
        cube([55,9.1,20]);
        ////////////////////////////////////

        translate ([1,9 , pedestal_height - 4.5]) // HOLE       for jack connector
        cube([50,35,5]);

        translate ([3,50, pedestal_height - 4.5])
        cube([42,27,5]);


}