2 // GNU AGPLv3 (or later at your option)
3 // project available at these locations:
4 // https://gitorious.org/ozzloy/challenge-bot
5 // https://github.com/waynegramlich/challenge-bot
8 // sonar sensor measurements from https://www.thingiverse.com/thing:92869,
10 deck_depth
= 4.7625; // 3/8 inch in mm
11 sonar_plate_width
= 20;
12 sonar_plate_length
= 45;
13 sonar_plate_height
= 1.2;
14 sonar_sensor_radius
= 8;
15 sonar_sensor_height
= 13.8;
16 sonar_holder_length
= sonar_plate_length
+ 30;
17 sonar_holder_depth
= 3;
21 cube([sonar_holder_length
, sonar_plate_width
, sonar_holder_depth
]);
22 translate([sonar_plate_length
+ 5, 0, sonar_holder_depth
]){
23 cube([5, sonar_plate_width
, deck_depth
]);
24 translate([0, 0, deck_depth
]){
25 cube([sonar_holder_length
- sonar_plate_length
- 5,
31 translate([45/2 - 13.5, 10, 0]){
32 cylinder(r
=sonar_sensor_radius
, h
= sonar_sensor_height
, center
= true);}
33 translate([45/2 + 13.5, 10, 0]){
34 cylinder(r
=sonar_sensor_radius
, h
= sonar_sensor_height
, center
= true);}}