chiark / gitweb /
filamentclip with teeth, adjusted, for print
[reprap-play.git] / filamentclip.scad
index 8f1855ae1f900816970f67151afe45ee1fd19b80..85af4c9745fdab61f727b35a1e5aa393b80fed7b 100644 (file)
@@ -7,8 +7,8 @@ w=1.0;
 looprad=2.5;
 loopw=w;
 
-//fdia=1.77;
-fdia=3;
+fdia=1.77;
+//fdia=3;
 
 d=0.01;
 
@@ -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,13 +38,13 @@ 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() {
@@ -66,7 +66,12 @@ module FilamentClip() {
       FlatArc(0,rad+looprad+w, looprad,looprad+loopw);
     }
   }
+
+  for (rot=[0,180]) {
+    rotate([0,0,rot])
+      translate([rad, 0, 0]) FilamentClipTeeth();
+  }
 }
 
 FilamentClip();
-FilamentClipTeeth();
+