rename angle bracket for clarity
authordaniel watson <ozzloy@gmail.com>
Fri, 13 Jun 2014 18:40:03 +0000 (11:40 -0700)
committerdaniel watson <ozzloy@gmail.com>
Fri, 13 Jun 2014 18:40:03 +0000 (11:40 -0700)
3d-printables/angle-bracket.scad [new file with mode: 0644]
3d-printables/mounting-bracket.scad [deleted file]

diff --git a/3d-printables/angle-bracket.scad b/3d-printables/angle-bracket.scad
new file mode 100644 (file)
index 0000000..fdd2b50
--- /dev/null
@@ -0,0 +1,29 @@
+// challenge-bot
+// GNU AGPLv3 (or later at your option)
+// project available at these locations:
+// https://gitorious.org/ozzloy/challenge-bot
+// https://github.com/waynegramlich/challenge-bot
+
+// 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);}}
+
+bracket(length, width, thickness);
diff --git a/3d-printables/mounting-bracket.scad b/3d-printables/mounting-bracket.scad
deleted file mode 100644 (file)
index fdd2b50..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-// challenge-bot
-// GNU AGPLv3 (or later at your option)
-// project available at these locations:
-// https://gitorious.org/ozzloy/challenge-bot
-// https://github.com/waynegramlich/challenge-bot
-
-// 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);}}
-
-bracket(length, width, thickness);