storarm_cope_hubaxle_mk1 = true;
+storarm_screw_hole = 4;
+storarm_screw_hole_slop = 0.5;
+storarm_besides_hole = 4;
+
// calculated
storarm_axlerad = hubaxlerad - storarm_axleslop;
square([storarm_base_w, storarm_base_h]);
}
+module StorageArmAtMountingHoles(){
+ bes = storarm_besides_hole + storarm_screw_hole;
+
+ x0 = bes;
+ x1 = storarm_base_w-bes;
+ y1 = storarm_base_h - bes;
+ y0 = bes;
+
+ for (pos=[ [x0, y1],
+ [x1, y1],
+ [x1, y0] ]) {
+ rotate([0,90,0])
+ translate([pos[0] - storarm_base_w,
+ pos[1] - storarm_base_off_y, -storarm_base_d])
+ children();
+ }
+}
+
module StorageArm(){ ////toplevel
shear = storarm_hookheight / (storarm_mainlen/2);
StorageArmBaseTemplate();
StorageArmDiagPart(-1, 0, shear, 0);
}
+ StorageArmAtMountingHoles(){
+ cylinder(r=1, h=10);
+ }
}
}
}