chiark / gitweb /
bike-lipo-box-gland: wip
[reprap-play.git] / bike-lipo-box-gland.scad
index bf4faff7a66e001ff48151bae65a821105ebcadd..df645f938a6bade710e11fd353e806ab55f99fa4 100644 (file)
@@ -6,8 +6,8 @@ module Gland(){
     hull(){
       for (m=[0,1]) {
        mirror([0,0, m]) {
-         translate([0,0, 1.5 + (20-13)]) cylinder(r=13, h=0.5);
-         translate([0,0, 1.5]) cylinder(r=20, h=0.5);
+         translate([0,0, 1.5 + (25-13)/2]) cylinder(r=13 /2 , h=0.5);
+         translate([0,0, 1.5]) cylinder(r=25 / 2, h=0.5);
        }
       }
     }
@@ -17,17 +17,17 @@ module Plate(){
   difference(){
     union(){
       Gland();
-      translate([-30,-30,-1.5])
-       cube([60,60,3]);
+      translate([-20,-20,-1.5])
+       cube([40,40,3]);
     }
     translate([0,0,-50])
-      cylinder(r=12.5, h=100);
+      cylinder(r=12.5 / 2, h=100);
   }
 }
 
 module Test(){
   rotate([90,0,0])
-    translate([0, 30, 0])
+    translate([0, 20, 0])
     Plate();
   translate([-20,-20,0]){
     difference(){