author | Michael Krelin <hacker@klever.net> | 2018-08-23 18:15:50 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2018-08-23 18:15:50 (UTC) |
commit | 005f630a7c6e8d5d2c828b82c0ca5b84811a75a3 (patch) (unidiff) | |
tree | 48f6ba9b08feceb4fdcc45885f178003938eacbe | |
parent | 225e31d9131d894b7eec39b7a883c699f666ab34 (diff) | |
download | extrudery-005f630a7c6e8d5d2c828b82c0ca5b84811a75a3.zip extrudery-005f630a7c6e8d5d2c828b82c0ca5b84811a75a3.tar.gz extrudery-005f630a7c6e8d5d2c828b82c0ca5b84811a75a3.tar.bz2 |
add split tolerance
-rw-r--r-- | another.scad | 14 |
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( | |||
62 | st_nut_h_tolerance=.2, | 62 | st_nut_h_tolerance=.2, |
63 | st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */ | 63 | st_nut_d_tolerance=.2,/* TODO: make it st_nut_w_tolerance */ |
64 | st_screw_d_tolerance=.5, | 64 | st_screw_d_tolerance=.5, |
65 | st_split_w_tolerance = .3, | ||
65 | 66 | ||
66 | min_z_shell = 4*layer_height, // the very minimal shell thickness along z-axis. | 67 | min_z_shell = 4*layer_height, // the very minimal shell thickness along z-axis. |
67 | min_xy_shell = 2*extrusion_width, | 68 | min_xy_shell = 2*extrusion_width, |
@@ -237,8 +238,8 @@ module the_extruder( | |||
237 | rotate([0,90,0]) | 238 | rotate([0,90,0]) |
238 | cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness); | 239 | cylinder(d=lever_thickness,h=fsw,$fn=fnd*lever_thickness); |
239 | hh=body_h-ls_z; | 240 | hh=body_h-ls_z; |
240 | translate([0,0,ls_z-lever_thickness/2]) | 241 | translate([0,0,ls_z]) |
241 | mirror([0,1,0]) cube(size=[fsw,longwing-hh+lever_thickness/sqrt(2),hh+lever_thickness/2]); | 242 | mirror([0,1,0]) cube(size=[fsw,longwing+(st_thinshell+st_split_w_tolerance)/2+st_thickshell,body_h-ls_z]); |
242 | hhh=ls_z; | 243 | hhh=ls_z; |
243 | translate([0,0,0]) | 244 | translate([0,0,0]) |
244 | mirror([0,1,0]) cube(size=[fsw,longwing-hhh+lever_thickness/sqrt(2),hhh+lever_thickness/2]); | 245 | mirror([0,1,0]) cube(size=[fsw,longwing-hhh+lever_thickness/sqrt(2),hhh+lever_thickness/2]); |
@@ -254,9 +255,12 @@ module the_extruder( | |||
254 | 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)); | 255 | 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)); |
255 | bigd = spring_d+spring_d_clearance; | 256 | bigd = spring_d+spring_d_clearance; |
256 | hf = (bigd-st_screw_d-st_screw_d_tolerance)/2; | 257 | hf = (bigd-st_screw_d-st_screw_d_tolerance)/2; |
257 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) | 258 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell-epsilon]) { |
258 | cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, | 259 | cylinder(d1=st_screw_d+st_screw_d_tolerance,d2=bigd, |
259 | h=hf+epsilon, $fn=fnd*bigd); | 260 | h=hf+epsilon, $fn=fnd*bigd); |
261 | translate([0,-(st_thinshell+st_split_w_tolerance)/2,0]) | ||
262 | cube(size=[body_h-ls_z+1,st_thinshell+st_split_w_tolerance,fsw+1]); | ||
263 | } | ||
260 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) | 264 | translate([0,0,st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+hf-epsilon]) |
261 | cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); | 265 | cylinder(d=bigd,h=fsw+1,$fn=fnd*bigd); |
262 | } | 266 | } |