add cleaned up dobervich's mounting bracket drill jig
[challenge-bot] / schematic.scad
CommitLineData
c157a4cd 1// challenge-bot phase-2
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// using
8// https://github.com/josefprusa/Prusa3/blob/master/box_frame/x-carriage.scad
9// as an example of how to code in scad
10
11deck_dimensions = [8, 8, 3/16];
12
13module deck(){
14 cube(deck_dimensions);}
15
16module wheel_mount(){
17 difference(){
18 cube([1.5, 2, 3/16]);
19 // motor shaft and collar hole
20 translate([0.5, 0.938, -1/16]) {
21 cylinder(h = 5/16, r = 0.362/2, $fn = 100);}
22 // nubbin hole
23 translate([0.5 + 0.875 - 0.425, 0.938, -1/16]){
24 cylinder(h = 5/16, r = 0.145/2, $fn = 100);}
25 // mounting screw hole
26 translate([0.5 + 1.213 - 0.425, 0.938 - 0.687/2, -1/16]){
27 cylinder(h = 5/16, r = 0.114/2, $fn = 100);}
28 translate([0.5 + 1.213 - 0.425, 0.938 + 0.687/2, -1/16]){
29 cylinder(h = 5/16, r = 0.114/2, $fn = 100);}}}
30
31module wheel(){
32 cylinder(r = 2.75/2, h = 3/16, $fn = 100);}
33
34color("blue") deck();
35rotate([90, 0, 0]) translate([1.5, -2, 0]) wheel_mount();
36rotate([90, 0, 0]) translate([1.5, -2, -(8+3/16)]) wheel_mount();
37color("red") rotate([90, 0, 0]) translate([2, -(.938), 3/16]) wheel();
38color("red") rotate([90, 0, 0]) translate([2, -(.938), -(8 + 3/8)]) wheel();