chiark / gitweb /
filamentclip tuning, for print
[reprap-play.git] / filamentclip.scad
index 8f1855ae1f900816970f67151afe45ee1fd19b80..27e25a91b13cdb97e25c206beec1c2a10521ff41 100644 (file)
@@ -1,19 +1,19 @@
 include <cliphook.scad>
 
-rad=12;
+rad=18;
 h=3.5;
-w=1.0;
+w=1.5;
 
 looprad=2.5;
 loopw=w;
 
-//fdia=1.77;
-fdia=3;
+fdia=1.77;
+//fdia=3;
 
 d=0.01;
 
-module FilamentClipTeeth(based=1.5, basew=4, teethw=0.6,
-                        stembendd=0.5, stembendl=4, teethxl=1) {
+module FilamentClipTeeth(based=1.5, basew=4, teethw=1.5,
+                        stembendd=0.5, stembendl=7, teethxl=1.5) {
   gapw = fdia-stembendd*2;
   teethbigw = gapw + teethw*2;
 
@@ -21,7 +21,7 @@ module FilamentClipTeeth(based=1.5, basew=4, teethw=0.6,
   difference() {
     union() {
       translate([-d, -teethbigw/2, 0])
-       cube([d+stembendl+teethxl, teethbigw, h]);
+       cube([d+stembendl + teethw, teethbigw, h]);
 //  translate([
 //  stembigw = fdia + stembend
 //  translate([-d, -stemw, 
@@ -38,35 +38,45 @@ module FilamentClipTeeth(based=1.5, basew=4, teethw=0.6,
     }
   }
 
-//  for (mirr=[0:1]) {
-//    mirror([0,mirr,0]) {
-//      linear_extrude(height=h) {
-//     translate(0.5, square([
-//      }
-//    }
-//  }
+  for (mirr=[0:1]) {
+    mirror([0,mirr,0]) {
+      translate([stembendl + teethw, gapw/2, 0])
+       rotate([0,0,30])
+       cube([teethxl, teethw, h]);
+    }
+  }
 }
 
 module FilamentClip() {
   k=1.5;
   g=0.6;
 
-  rotate([0,0,-45]) {
+  rotate([0,0,-55]) {
     translate([0,rad,0]) {
       ClipHook(h=h, w=w, g=0.6, k=k, g=g, ye=-1.3);
+    }
+  }
+
+  rotate([0,0,-30]) {
+    translate([0,rad,0]) {
       rotate([0,0,180]) ClipHook(h=h, w=w, g=g, k=k, ye=0.8);
     }
   }
 
   linear_extrude(height=h) {
     assign($fn=80) {
-      FlatArc(0,0, rad-w/2,rad+w/2, 65,379);
+      FlatArc(0,0, rad-w/2,rad+w/2, 80,372);
     }
     assign($fn=30) {
       FlatArc(0,rad+looprad+w, looprad,looprad+loopw);
     }
   }
+
+  for (rot=[0,180]) {
+    rotate([0,0,rot])
+      translate([rad, 0, 0]) FilamentClipTeeth();
+  }
 }
 
 FilamentClip();
-FilamentClipTeeth();
+