put left motor speed pin on 10 for pwm
[challenge-bot] / 3d-printables / angle-bracket-data.scad
CommitLineData
3d90aff0 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// this needs to be updated with actual measurements
8length = 5;
9width = 5;
10thickness = 1;
11
12module plate(length, width, thickness) {
13 difference() {
14 cube([length, width, thickness]);
15 translate([0, 0, -0.05 * thickness]) {
16 scale([1, 1, 1.1]) {
17 translate([length / 2, (width + thickness) / 2, 0]) {
18 cylinder(h = thickness, r = 0.5, $fn = 20); } } } } }
19
20
21module bracket(length, width, thickness) {
22 translate([0, thickness / 2, thickness / 2]) {
23 translate([0, - thickness / 2, - thickness / 2]) {
24 plate(length, width, thickness); }
25 rotate([90, 0, 0]) {
26 translate([0, - thickness / 2, - thickness / 2]) {
27 plate(length, width, thickness); } } } }