chiark / gitweb /
filamentspool: FilamentGuideClipSpacerClip wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jan 2016 19:42:35 +0000 (19:42 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Jan 2016 19:42:35 +0000 (19:42 +0000)
filamentspool.scad

index c32061e..e44b550 100644 (file)
@@ -680,6 +680,7 @@ module StorArmHoleTest(){ ////toplevel
 
 guideclip_armdia = 15.0 + 0.5;
 guideclip_armwidth = 10.2 + 0.5;
+guideclip_armspacelen = 15.3 - 0.25;
 
 guideclip_prongprotrude = 4;
 guideclip_thick = 1.6;
@@ -692,21 +693,25 @@ module FilamentGuideClipArmTemplate(extra=0){
   }
 }
 
-module FilamentGuideClipSpacerClipTemplate(){
+module FilamentGuideClipSpacerClipInnerTemplate(){
+  FilamentGuideClipArmTemplate();
+  translate([0, -guideclip_armdia/2])
+    square(center=true, [guideclip_armwidth - guideclip_prongprotrude,
+                        guideclip_armdia]);
+}
+
+module FilamentGuideClipSpacerClip(){ ////toplevel
   difference(){
     union(){
-      FilamentGuideClipArmTemplate(extra= guideclip_thick);
+      linear_extrude(height= guideclip_armspacelen)
+       FilamentGuideClipArmTemplate(extra= guideclip_thick);
     }
-    FilamentGuideClipArmTemplate();
-    translate([0, -guideclip_armdia/2])
-      square(center=true, [guideclip_armwidth - guideclip_prongprotrude,
-                          guideclip_armdia]);
+    translate([0,0,-1])
+      linear_extrude(height= guideclip_armspacelen+2)
+      FilamentGuideClipSpacerClipInnerTemplate();
   }
 }
 
-module FilamentGuideClipSpacerClip(){ ////toplevel
-}
-
 
 module Demo(){
   translate([-hubeffrad-30,50,0]) Hub();