define wiring in separate file
[challenge-bot] / 3d-printables / motor-mount-data.scad
index ccf88f50d5ff8a17be640bc43f1d0e44f431487e..c52f7f5b864ac19e1a3c7fbdae97ea45791ddeb5 100644 (file)
@@ -1,12 +1,21 @@
+/*
+  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/
+
 // from schematic http://goo.gl/96RKol
-collar_radius = 9.2 / 2 + 0.25;
-nubbin_radius = 4.48 / 2;
-screw_radius = 2.9 / 2 + 0.35; // a little bigger so screws fit through
+collar_radius = 9.2 / 2 + 0.75;
+nubbin_radius = 4.48 / 2 + 0.5;
+screw_radius = 2.9 / 2 + 0.8; // a little bigger so screws fit through
 
 motor_height = 22.23;
 
 // http://freespace.virgin.net/matt.waite/resource/handy/screwsize.htm
-_6_radius = 3.5 / 2 + 0.25;
+_6_radius = 3.5 / 2 + 0.75;
 
 // measurements we made up:
 mount_total_x = 38;
@@ -31,10 +40,10 @@ module motor_holes() {
       cylinder(r = screw_radius, h = mount_total_z + 0.1); } } }
 
 module bracket_holes() {
-  translate([6.2, 0, 0])
-  cylinder(r = _6_radius, h = mount_total_z + 0.1);
-  translate([mount_total_x - 6.2, 0, 0])
-  cylinder(r = _6_radius, h = mount_total_z + 0.1); }
+  translate([6.2, 0, 0]) {
+    cylinder(r = _6_radius, h = mount_total_z + 0.1); }
+  translate([mount_total_x - 6.2, 0, 0]) {
+    cylinder(r = _6_radius, h = mount_total_z + 0.1); } }
 
 module motor_mount() {
   difference() {
@@ -43,3 +52,20 @@ module motor_mount() {
       bracket_holes(); }
     translate([1, mount_total_y - motor_height / 2 - 3, -0.05]) {
       motor_holes(); } } }
+
+/*
+  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 <http://www.gnu.org/licenses/>.
+*/