author | Michael Krelin <hacker@klever.net> | 2016-07-22 22:47:49 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2016-07-22 22:47:49 (UTC) |
commit | 02e67d4d4976290d500ce7e7081ae5d2f213939c (patch) (side-by-side diff) | |
tree | 916f6c53a5209137b58f5c0e1c11186b94641557 /x-carriage-adapter.scad | |
parent | fe38a13146788101d364f2f03368e0505290117c (diff) | |
download | carriagery-master.zip carriagery-master.tar.gz carriagery-master.tar.bz2 |
-rw-r--r-- | x-carriage-adapter.scad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x-carriage-adapter.scad b/x-carriage-adapter.scad index 9cf6c08..9891072 100644 --- a/x-carriage-adapter.scad +++ b/x-carriage-adapter.scad @@ -32,12 +32,16 @@ gap = 5; // gap between microswitch and heatsink ps_offset = 3+3; // pushscrew offset from the hinge back_thickness = 8; // thickness of the part behind the hinge nut_thickness = 2.5; // intelligent guess should suffice nut_width = 5.5; // intelligent guess should suffice +link_thickness=3; // thickness of link holder protrusion +link_or=3.5; // link outer diameter +link_ir=1.5; // link inner diameter + use <threads.scad>; /* the internal thread for e3d bowden coupling: http://e3d-online.com/E3D-v6/Spares/Threaded-Bowden-Coupling-1.75mm-Filament */ module pushfit_thread(h=thread_h) { thr = 3/8 + .5/25.4; slit = 25.4*thr/2 + 0.4; translate([0,0,-1]) if(draft) cylinder(d=thr*25.4,h=h+2); @@ -63,12 +67,21 @@ module holder() { for(mhot = mounting_holes_on_top) translate([mhot[0],mhot[1],0]) { translate([0,0,drs]) cylinder(d=screw_shell_d,h=thread_h-drs,$fn=30); cylinder(r=rs,h=thread_h,$fn=30); } } + difference() { + hx0 = max(mounting_holes_on_top[1][1],mounting_holes_on_top[2][1])+screw_shell_d/2; + hull() { + for(ls=[-1,1]) translate([0,hx0+ls*link_or,thread_h+ls*link_or]) + rotate([0,90,0]) cylinder(r=link_or,h=link_thickness,center=true,$fn=30); + } + translate([0,hx0+link_or,thread_h+link_or]) + rotate([0,90,0]) cylinder(r=link_ir,h=link_thickness+2,center=true,$fn=30); + } // difference hull() { translate([0,0,thread_h/2]) cube(size=[hs_size[0]-2*hinge_s-2*slide_tolerance,feed_shell_d,thread_h],center=true); translate([0,-hff,thread_h/2]) rotate([0,90,0]) cylinder(d=thread_h,h=hs_size[0]-2*hinge_s-2*slide_tolerance,center=true,$fn=60); } |