summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-25 17:25:36 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-25 17:25:36 (UTC)
commit0efd2acb72d92bc51a8d56592e4171f619b15f79 (patch) (side-by-side diff)
treede9c32666b22a86ecd77ed7f736961666bef43c2
parent4cb9b4ab0175173b4c89b8d22c571ec05a3aeea7 (diff)
downloadextrudery-0efd2acb72d92bc51a8d56592e4171f619b15f79.zip
extrudery-0efd2acb72d92bc51a8d56592e4171f619b15f79.tar.gz
extrudery-0efd2acb72d92bc51a8d56592e4171f619b15f79.tar.bz2
move fsw
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad4
1 files changed, 2 insertions, 2 deletions
diff --git a/another.scad b/another.scad
index a3f5dc9..74b7ffa 100644
--- a/another.scad
+++ b/another.scad
@@ -78,24 +78,26 @@ module the_extruder(
idler_filament_offset = filament_path_d/2; // -filament_offset;
lever_shell = mount_screwhead_h+0.5;
lever_thickness=max(spring_d+spring_d_clearance+layer_height*8,idler_h+idler_v_tolerance+2*lever_shell);
lsd = idler_d-idler_clearance*2;
longwing=gearbox_d/2+spring_d/2+lsd/2;
shortwing = let(a=mount_d/2,c=(pulley_d+idler_d)/2/sqrt(2))
sqrt(c*c+pow(a-c,2));
longwing_travel = idler_travel*longwing/shortwing;
h_ = (pulley_d+idler_d)/(2*sqrt(2));
ri = sqrt( pow(h_,2) + pow(mount_d/2-h_,2) );
spring_dl = idler_travel*longwing/ri;
+ // finger and spring support
+ fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2);
mount_min_depth = mounthole_min_depth ? mounthole_min_depth : mounthole_depth-1;
mount_max_depth = mounthole_max_depth ? mounthole_max_depth : mounthole_depth+1;
filament_elevation=protrusion_h+pulley_elevation+teeth_elevation;
ls_z = filament_elevation; // leverspace mid-z
ls_h = lever_thickness+lever_v_clearance; // leverspace height
mount_depth = mount_screw_l - (ls_z+ls_h/2+min_z_shell);
body_h = max(protrusion_h+bore_l,mount_screw_l-mount_depth+mount_screwhead_h+min_z_shell,ls_z*2);
echo("mount depth",mount_depth);
module teardrop(r,d,h,center=false,angle=45) {
dd = d ? d : (2*r);
@@ -223,26 +225,24 @@ module the_extruder(
// bridging patch
if(bridges) place_idler()
translate([0,0,lever_thickness/2-mount_screwhead_h])
mirror([0,0,1])
cylinder(d=mount_screwhead_d,h=layer_height);
}//translate
}//lever module
module body() {
difference() {
union() {
cylinder(d=gearbox_d,h=body_h,$fn=fnd*gearbox_d);
- // finger and spring support
- fsw = gearbox_d-(gearbox_d-mount_d)/2-max(spring_lc,longwing_travel+(gearbox_d-mount_d)/2);
translate([-gearbox_d/2,0,0]) difference() {
union() {
hull() {
translate([0,-longwing,ls_z])
rotate([0,90,0])
cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness);
hh=body_h-ls_z;
translate([0,0,ls_z])
mirror([0,1,0]) cube(size=[fsw,longwing+(st_thinshell+st_split_w_tolerance)/2+st_thickshell,body_h-ls_z]);
hhh=ls_z;
translate([0,0,0])
mirror([0,1,0]) cube(size=[fsw,longwing-hhh+lever_thickness/sqrt(2),hhh+lever_thickness/2]);