chiark / gitweb /
10254 huxley-spindle new params for SpindleTeeth
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 Aug 2012 18:13:47 +0000 (19:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 Aug 2012 18:13:47 +0000 (19:13 +0100)
th-10254/SpindleTeeth.scad

index badc825884408129d8422dc1fc0eda2424403511..ab0d104d3551b0ad435cf79428fcca7b07437230 100644 (file)
@@ -15,14 +15,15 @@ include <FilamentSpool.scad> //  FilamentSpool.scad is @ http://www.thingiverse.
 // WARNING base of this is multiple overlapping surfaces and must be\r
 // sliced off\r
 \r
-module SpindleTeeth(d=0.01)\r
+module SpindleTeeth(d=0.01, basewidth=12, baseheight=15, baseyoff=0)\r
 {\r
        translate([-10,-4.5, -d])\r
        difference()\r
        {\r
                union()\r
                {\r
-                       translate([0,-3,0]) cube([10.03,15,12]);\r
+                       translate([0,-baseheight/2+4+baseyoff,0])\r
+                               cube([10.03,baseheight,basewidth]);\r
                        intersection() {\r
                                translate([0,-2,0])\r
                                        Spindle(10.5,11,8,0,0,0,5,0,[1.5,18,5]);\r