use spokes instead of square for wheel
[challenge-bot] / 3d-printables / angle-bracket-data.scad
CommitLineData
25cd00a6 1/*
2 Copyright (C) 2015 Daniel Watson
3 See the end of the file for license conditions.
4*/
3d90aff0 5// challenge-bot
6// GNU AGPLv3 (or later at your option)
25cd00a6 7// project available here:
8// https://challenge-bot.com/
3d90aff0 9
10// this needs to be updated with actual measurements
11length = 5;
12width = 5;
13thickness = 1;
14
15module plate(length, width, thickness) {
16 difference() {
17 cube([length, width, thickness]);
18 translate([0, 0, -0.05 * thickness]) {
19 scale([1, 1, 1.1]) {
20 translate([length / 2, (width + thickness) / 2, 0]) {
21 cylinder(h = thickness, r = 0.5, $fn = 20); } } } } }
22
23
24module bracket(length, width, thickness) {
25 translate([0, thickness / 2, thickness / 2]) {
26 translate([0, - thickness / 2, - thickness / 2]) {
27 plate(length, width, thickness); }
28 rotate([90, 0, 0]) {
29 translate([0, - thickness / 2, - thickness / 2]) {
30 plate(length, width, thickness); } } } }
25cd00a6 31
32/*
33 This file is part of challenge-bot.
34
35 Challenge-bot is free software: you can redistribute it and/or modify
36 it under the terms of the GNU Affero General Public License as published by
37 the Free Software Foundation, either version 3 of the License, or
38 (at your option) any later version.
39
40 GNU Affero Emacs is distributed in the hope that it will be useful,
41 but WITHOUT ANY WARRANTY; without even the implied warranty of
42 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
43 GNU Affero General Public License for more details.
44
45 You should have received a copy of the GNU Affero General Public License
46 along with challenge-bot. If not, see <http://www.gnu.org/licenses/>.
47*/