summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2018-08-23 18:16:32 (UTC)
committer Michael Krelin <hacker@klever.net>2018-08-23 18:16:32 (UTC)
commit9b29b0901630b818bda37481184d12b27042d36d (patch) (side-by-side diff)
treee624923b6ce35c5f72e9a8a4d71334ec0b1f2b7c
parent005f630a7c6e8d5d2c828b82c0ca5b84811a75a3 (diff)
downloadextrudery-9b29b0901630b818bda37481184d12b27042d36d.zip
extrudery-9b29b0901630b818bda37481184d12b27042d36d.tar.gz
extrudery-9b29b0901630b818bda37481184d12b27042d36d.tar.bz2
springpad: add protrusion/indicator
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--another.scad12
1 files changed, 10 insertions, 2 deletions
diff --git a/another.scad b/another.scad
index b1cbdeb..cc3194e 100644
--- a/another.scad
+++ b/another.scad
@@ -395,56 +395,64 @@ module the_extruder(
difference() {
translate([0,0,ls_z-ls_h/2-epsilon])
cylinder(d=gearbox_d,h=ls_h+2*epsilon,$fn=fnd*gearbox_d);
cylinder(d=pulley_d+pulley_d_clearance,h=body_h+1,$fn=fnd*(pulley_d+pulley_d_clearance));
}
// supports
// TODO: hardcoded stuff below…
if(false) { // parallel
for(y=[-gearbox_d:4:gearbox_d])
translate([0,y-extrusion_width/2,0])
cube(size=[gearbox_d,extrusion_width,body_h]);
}else{ // radial
for(zr=[-65:(65+50)/7:50])
rotate([0,0,zr]) translate([0,-extrusion_width/2,0])
cube(size=[gearbox_d,extrusion_width,body_h]);
}
}
}//body module
module springpad() {
smalld=st_screw_d+st_screw_d_tolerance+2*extrusion_width;
bigd = spring_d+spring_d_clearance/2;
hf = (bigd-smalld)/2;
+ h = hf*3.5;
translate([-gearbox_d/2+st_thickshell+st_nut_h+st_nut_h_tolerance+st_thinshell+1,-longwing,filament_elevation])
rotate([0,90,0]) difference() {
union() {
cylinder(d1=smalld,d2=bigd,h=hf,$fn=fnd*bigd);
translate([0,0,hf-epsilon])
- cylinder(d=bigd,h=hf*2,$fn=fnd*bigd);
- translate([0,0,3*hf])
+ cylinder(d=bigd,h=h-hf,$fn=fnd*bigd);
+ translate([0,0,h])
sphere(d=spring_d*3/4,$fn=fnd*spring_d*3/4);
+ l = body_h-ls_z;
+ w = st_thinshell;
+ hull() translate([0,-st_thinshell/2,0]) mirror([1,0,0]) {
+ translate([0,0,w])
+ cube(size=[l,st_thinshell,w]);
+ cube(size=[l-w,st_thinshell,2*w]);
+ }
}
translate([0,0,-epsilon])
cylinder(d=st_screw_d+st_screw_d_tolerance,h=2*hf+epsilon,$fn=fnd*(st_screw_d+st_screw_d_tolerance));
}
}
module knob() {
ch = knob_indent_d/2;
translate([0,0,body_h+epsilon]) {
mirror([0,0,1]) translate([0,0,-epsilon]) {
difference() {
cylinder(d=pulley_d,h=knob_bore_l,$fn=fnd*pulley_d);
translate([0,0,-1]) difference() {
cylinder(d=bore_d+knob_bore_d_tolerance,h=knob_bore_l+2);
translate([-bore_d/2-1,bore_dd-bore_d/2+knob_bore_d_tolerance/2,-1])
cube([bore_d+2,bore_d/2,knob_bore_l+4]);
}
}
}
difference() {
union() {
cylinder(d1=gearbox_d-2*ch,d2=gearbox_d,h=ch+epsilon,$fn=fnd*gearbox_d);
translate([0,0,ch])
cylinder(d=gearbox_d,h=knob_h-2*ch+epsilon,$fn=fnd*gearbox_d);