2 Copyright (C) 2015 Daniel Watson
3 See the end of the file for license conditions.
6 // GNU AGPLv3 (or later at your option)
7 // project available here:
8 // https://challenge-bot.com/
10 // this needs to be updated with actual measurements
15 module
plate(length
, width
, thickness
) {
17 cube([length
, width
, thickness
]);
18 translate([0, 0, -0.05 * thickness
]) {
20 translate([length
/ 2, (width
+ thickness
) / 2, 0]) {
21 cylinder(h
= thickness
, r
= 0.5, $fn
= 20); } } } } }
24 module
bracket(length
, width
, thickness
) {
25 translate([0, thickness
/ 2, thickness
/ 2]) {
26 translate([0, - thickness
/ 2, - thickness
/ 2]) {
27 plate(length
, width
, thickness
); }
29 translate([0, - thickness
/ 2, - thickness
/ 2]) {
30 plate(length
, width
, thickness
); } } } }
33 This file is part of challenge-bot.
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.
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.
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/>.