separate data into *-data.scad for 3d models
[challenge-bot] / 3d-printables / deck-holder.scad
1 // challenge-bot
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
6
7 /*
8 this holds an hc-sr04 sonar sensor to a 3/16 inch deck.
9 http://fritzing.org/projects/hc-sr04-project
10 it can hold the sonar sensor either facing down, or forwards.
11 when facing down, it can detect if it passes over the edge of a table.
12 when facing forwards, it can detect and follow something in front of it.
13 */
14
15 $fn = 60;
16
17 use <oshw.scad>
18 include <deck-holder-data.scad>
19
20 for (jj = [0:0]) {
21 for (ii = [0:0]) {
22 translate([ii * (sonar_holder_length + 10),
23 jj * (26 + deck_depth * 3),
24 0]) {
25 deck_holder(); } } }