chiark / gitweb /
filamentspool: FilamentGuideArm: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Jan 2016 15:49:10 +0000 (15:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Jan 2016 15:49:10 +0000 (15:49 +0000)
filamentspool.scad

index 33ccba1..30fb27f 100644 (file)
@@ -758,6 +758,7 @@ guidearm_screwplateth = 4;
 guidearm_screwhole = 4 + 0.5;
 
 guidearm_bendlen = 50;
+guidearm_bendslot = 5;
 
 // calculated
 
@@ -767,7 +768,7 @@ guidearm_armcorelen = guide_armcorelen + guidearm_armlenslop;
 
 guidearm_base_z0 = -(guidearm_totallen - guidearm_armcorelen);
 
-guidearm_realbendlen = max(guidearm_bendlen,
+guidearm_realbendlen = min(guidearm_bendlen,
                           guidearm_totallen - guidearm_screwplateth - 0.1);
 
 module FilamentGuideArmShaftPositive(){
@@ -807,7 +808,15 @@ module FilamentGuideArmBase(){
 
 module FilamentGuideArm(){ ///toplevel
   intersection(){
-    FilamentGuideArmShaftPositive();
+    difference(){
+      FilamentGuideArmShaftPositive();
+      translate([-guidearm_bendslot/2,
+                -50,
+                -guidearm_realbendlen + guidearm_armcorelen])
+       cube([guidearm_bendslot,
+             100,
+             guidearm_realbendlen + 100]);
+    }
     cube(center=true,
         [guidearm_armdia*2,
          guidearm_armwidth,