chiark / gitweb /
filamentteeth in separate module
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Sep 2012 22:31:37 +0000 (23:31 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Sep 2012 22:31:37 +0000 (23:31 +0100)
filamentclip.scad
filamentteeth.scad

index 8726b14..e6d7afb 100644 (file)
@@ -4,7 +4,6 @@ include <filamentteeth.scad>
 rad=19;
 h=3.5;
 w=2.5;
-teethw=1.5;
 
 looprad=2.5;
 loopw=w;
@@ -47,7 +46,7 @@ module FilamentClip() {
       rotate([0,0,-40])
       translate([rad+w*0.3+teethw*0.3+fdia/2, 0, 0])
       rotate([0,0,95])
-      FilamentTeeth(fdia=fdia);
+      FilamentTeeth(fdia=fdia, h=h);
   }
 }
 
index 588b809..d0e694f 100644 (file)
@@ -1,4 +1,7 @@
-module FilamentTeeth(fdia, teethw=teethw,
+d=0.01;
+teethw=1.5;
+
+module FilamentTeeth(fdia, h, teethw=teethw,
                         stembendd=0.5, stembendl=7, teethxl=1.5) {
   gapw = fdia-stembendd*2;
   teethbigw = gapw + teethw*2;