chiark / gitweb /
pull-cord-keeper: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 1 Aug 2015 22:14:28 +0000 (23:14 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 1 Aug 2015 22:14:31 +0000 (23:14 +0100)
pull-cord-keeper.scad

index 115ca91..1e367b6 100644 (file)
@@ -11,6 +11,12 @@ blockwidth = hcentredist*2 + 6;
 
 height = 20;
 
+ziglen = hcentredist/2;
+
+feedxgap = 5;
+
+feedzgap = 5;
+
 module Oval(centredist, rad) {
   hull() {
     translate([-centredist/2,0,0]) circle(r=rad);
@@ -32,8 +38,21 @@ module Hoop(){
 }
 
 module Positive(){
-  linear_extrude(height=20)
+  translate([0,0, -height/2])
+    linear_extrude(height=20)
     Hoop();
 }
 
-Positive();
+module Division(biggerpi) {
+  xgap = feedxgap * biggerpi;
+  zgap = feedzgap * biggerpi;
+  mirror([0,0,1])
+    translate([-(ziglen + xgap/2), -100, zgap/2])
+    cube([100, 100, 10]);
+}
+
+//difference(){
+%  Positive();
+//  Division(0);
+//}
+Division(1);