chiark / gitweb /
filamentspool: Provide comments for "fdia" and "lightduty"
[reprap-play.git] / filamentspool.scad
index bf12d855c22473379515b93c25c5bd22c6571278..755916f2ffa721c369a69b0c6ca6e4289ca672fb 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C -*-
 
-fdia=2.85;
-lightduty=false;
+fdia=2.85; // or 1.75
+lightduty=false; // or true
+
 
 slop=0.5;
 bigslop=slop*2;
@@ -476,7 +477,8 @@ storarm_screw_hole_head_slop = 1.5;
 // calculated
 
 storarm_axlerad = hubaxlerad - storarm_axleslop;
-storarm_mainlen = hubaxlelen + (storarm_cope_hubaxle_mk1 ? 10 : 0);
+storarm_mainlen = hubaxlelen*2 + storarm_axleslop
+  + (storarm_cope_hubaxle_mk1 ? 10 : 0);
 storarm_totlen = storarm_mainlen + storarm_hooklen;
 
 storarm_mid_off_y = storarm_axlerad;
@@ -532,7 +534,7 @@ module StorageArmAtMountingHoles(){
   }
 }
 
-module StorageArm(){ ////toplevel
+module StorageArmRight(){ ////toplevel
   shear = storarm_hookheight / (storarm_mainlen/2);
 
   StorageArmDiagPart(-1, storarm_mainlen/2+1, shear, 0);
@@ -568,10 +570,14 @@ module StorageArm(){ ////toplevel
   }
 }
 
+module StorageArmLeft(){ ////toplevel
+  mirror([1,0,0]) StorageArmRight();
+}
+
 module StorArmHoleTest(){ ////toplevel
   sz = storarm_screw_hole_head + storarm_besides_hole*2;
   intersection(){
-    StorageArm();
+    StorageArmRight();
     translate([-50, -storarm_base_off_y, -1])
       cube([100, sz, sz+1]);
   }
@@ -594,6 +600,6 @@ module Demo(){
 //AxleWasher();
 //AxlePin();
 //AxleFrictionWasher();
-//StorageArm();
+//StorageArmLeft();
 //StorArmHoleTest();
 //Demo();