// challenge-bot // GNU AGPLv3 (or later at your option) // project available at these locations: // https://gitorious.org/ozzloy/challenge-bot // https://github.com/waynegramlich/challenge-bot // sonar sensor measurements from https://www.thingiverse.com/thing:92869, // released under GPL. deck_depth = 4.7625; // 3/8 inch in mm sonar_plate_width = 20; sonar_plate_length = 45; sonar_plate_height = 1.2; sonar_sensor_radius = 8; sonar_sensor_height = 13.8; sonar_holder_length = sonar_plate_length + 30; sonar_holder_depth = 3; difference (){ union(){ cube([sonar_holder_length, sonar_plate_width, sonar_holder_depth]); translate([sonar_plate_length + 5, 0, sonar_holder_depth]){ cube([5, sonar_plate_width, deck_depth]); translate([0, 0, deck_depth]){ cube([sonar_holder_length - sonar_plate_length - 5, sonar_plate_width, sonar_holder_depth]);}}} translate([45/2 - 13.5, 10, 0]){ cylinder(r=sonar_sensor_radius, h = sonar_sensor_height, center = true);} translate([45/2 + 13.5, 10, 0]){ cylinder(r=sonar_sensor_radius, h = sonar_sensor_height, center = true);}}