From dac38b58180f4e3ca5411b3f017ac3a1b0dada0f Mon Sep 17 00:00:00 2001 From: daniel watson Date: Fri, 1 Nov 2013 12:06:12 -0700 Subject: [PATCH] hold sonar sensor oriented for table top challenge --- sonar-table-top-holder.scad | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 sonar-table-top-holder.scad diff --git a/sonar-table-top-holder.scad b/sonar-table-top-holder.scad new file mode 100644 index 0000000..5f985c3 --- /dev/null +++ b/sonar-table-top-holder.scad @@ -0,0 +1,34 @@ +// 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);}} -- 2.30.2