summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-23 18:15:50 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-23 18:15:50 (UTC)
commit005f630a7c6e8d5d2c828b82c0ca5b84811a75a3 (patch) (side-by-side diff)
tree48f6ba9b08feceb4fdcc45885f178003938eacbe
parent225e31d9131d894b7eec39b7a883c699f666ab34 (diff)
downloadextrudery-005f630a7c6e8d5d2c828b82c0ca5b84811a75a3.zip
extrudery-005f630a7c6e8d5d2c828b82c0ca5b84811a75a3.tar.gz
extrudery-005f630a7c6e8d5d2c828b82c0ca5b84811a75a3.tar.bz2
add split tolerance
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad14
1 files changed, 9 insertions, 5 deletions
diff --git a/another.scad b/another.scad
index 8d9d22c..b1cbdeb 100644
--- a/another.scad
+++ b/another.scad
@@ -62,6 +62,7 @@ module the_extruder(
st_nut_h_tolerance=.2,
st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */
st_screw_d_tolerance=.5,
+ st_split_w_tolerance = .3,
min_z_shell = 4*layer_height, // the very minimal shell thickness along z-axis.
min_xy_shell = 2*extrusion_width,
@@ -237,8 +238,8 @@ module the_extruder(
rotate([0,90,0])
cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness);
hh=body_h-ls_z;
- translate([0,0,ls_z-lever_thickness/2])
- mirror([0,1,0]) cube(size=[fsw,longwing-hh+lever_thickness/sqrt(2),hh+lever_thickness/2]);
+ 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]);
@@ -254,9 +255,12 @@ module the_extruder(
translate([0,0,-1]) cylinder(d=st_screw_d+st_screw_d_tolerance,h=fsw+2,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
bigd = spring_d+spring_d_clearance;
hf = (bigd-st_screw_d-st_screw_d_tolerance)/2;
- translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon])
- cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd,
- h=hf+epsilon, $fn=fnd*bigd);
+ translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) {
+ cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd,
+ h=hf+epsilon, $fn=fnd*bigd);
+ translate([0,-(st_thinshell+st_split_w_tolerance)/2,0])
+ cube(size=[body_h-ls_z+1,st_thinshell+st_split_w_tolerance,fsw+1]);
+ }
translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon])
cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd);
}