/* Copyright (C) 2015 Daniel Watson See the end of the file for license conditions. */ // challenge-bot // GNU AGPLv3 (or later at your option) // project available here: // https://challenge-bot.com/ // this needs to be updated with actual measurements length = 5; width = 5; thickness = 1; module plate(length, width, thickness) { difference() { cube([length, width, thickness]); translate([0, 0, -0.05 * thickness]) { scale([1, 1, 1.1]) { translate([length / 2, (width + thickness) / 2, 0]) { cylinder(h = thickness, r = 0.5, $fn = 20); } } } } } module bracket(length, width, thickness) { translate([0, thickness / 2, thickness / 2]) { translate([0, - thickness / 2, - thickness / 2]) { plate(length, width, thickness); } rotate([90, 0, 0]) { translate([0, - thickness / 2, - thickness / 2]) { plate(length, width, thickness); } } } } /* This file is part of challenge-bot. Challenge-bot is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. GNU Affero Emacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with challenge-bot. If not, see . */