-rw-r--r-- | another.scad | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/another.scad b/another.scad index faa41da..92187c5 100644 --- a/another.scad +++ b/another.scad | |||
@@ -385,35 +385,35 @@ module the_extruder( | |||
385 | text(text=label,size=labelspace.x/label_len,halign="center",valign="center",font="Arial Black"); | 385 | text(text=label,size=labelspace.x/label_len,halign="center",valign="center",font="Arial Black"); |
386 | }else sphere(d=epsilon); // to avoid makefile breakage | 386 | }else sphere(d=epsilon); // to avoid makefile breakage |
387 | } | 387 | } |
388 | 388 | ||
389 | module springpad() { | 389 | module springpad() { |
390 | smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell; | 390 | smalld=st_screw_d+st_screw_d_tolerance+min_xy_shell; |
391 | bigd = spring_d+spring_d_clearance/2; | 391 | bigd = spring_d+spring_d_clearance/2; |
392 | hf = (bigd-smalld)/2; | 392 | hf = (bigd-smalld)/2; |
393 | h = hf*3.5; | 393 | h = max(hf,fsw-st_screw_l+hf); |
394 | translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation]) | 394 | translate([-gearbox_d/2+fsw-h,-longwing,filament_elevation]) |
395 | rotate([0,90,0]) difference() { | 395 | rotate([0,90,0]) difference() { |
396 | union() { | 396 | union() { |
397 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); | 397 | cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd); |
398 | translate([0,0,hf-epsilon]) | 398 | translate([0,0,hf-epsilon]) |
399 | cylinder(d=bigd,h=h-hf,$fn=fnd*bigd); | 399 | cylinder(d=bigd,h=h-hf,$fn=fnd*bigd); |
400 | translate([0,0,h]) | 400 | translate([0,0,h]) |
401 | sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); | 401 | sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4); |
402 | l = body_h-ls_z; | 402 | l = body_h-ls_z; |
403 | w = st_split_w; | 403 | w = st_split_w; |
404 | hull() translate([0,-st_split_w/2,0]) mirror([1,0,0]) { | 404 | hull() translate([0,-st_split_w/2,0]) mirror([1,0,0]) { |
405 | translate([0,0,w]) | 405 | translate([0,0,w]) |
406 | cube(size=[l,st_split_w,w]); | 406 | cube(size=[l,st_split_w,w]); |
407 | cube(size=[l-w,st_split_w,2*w]); | 407 | cube(size=[l-w,st_split_w,2*w]); |
408 | } | 408 | } |
409 | } | 409 | } |
410 | translate([0,0,-epsilon]) | 410 | translate([0,0,-epsilon]) |
411 | cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); | 411 | cylinder(d=st_screw_d+st_screw_d_tolerance,h=st_screw_l-fsw+h+2*epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance)); |
412 | } | 412 | } |
413 | } | 413 | } |
414 | 414 | ||
415 | module knob() { | 415 | module knob() { |
416 | ch = knob_indent_d/2; | 416 | ch = knob_indent_d/2; |
417 | knob_bore_l = body_h-protrusion_h-pulley_elevation-pulley_h-knob_v_clearance; | 417 | knob_bore_l = body_h-protrusion_h-pulley_elevation-pulley_h-knob_v_clearance; |
418 | translate([0,0,body_h+epsilon]) { | 418 | translate([0,0,body_h+epsilon]) { |
419 | mirror([0,0,1]) translate([0,0,-epsilon]) { | 419 | mirror([0,0,1]) translate([0,0,-epsilon]) { |