-rw-r--r-- | x-carriage-adapter.scad | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x-carriage-adapter.scad b/x-carriage-adapter.scad index af91d52..f3ebb09 100644 --- a/x-carriage-adapter.scad +++ b/x-carriage-adapter.scad @@ -70,49 +70,49 @@ module holder() { 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); } }//union for(sx=[-1,1]) translate([sx*feeds_apart/2,0,0]) pushfit_thread(); for(mhot = mounting_holes_on_top) translate([mhot[0],mhot[1],0]) { translate([0,0,-1]) cylinder(d=3,h=thread_h+2,$fn=12); // TODO: sink heads translate([0,0,thread_h/2]) cylinder(d=screwhead_d+slide_tolerance,h=thread_h/2+1,$fn=30); } // hinge translate([0,-hff,thread_h/2]) rotate([0,90,0]) cylinder(d=3+slide_tolerance,h=hs_size[0],center=true,$fn=12); // push screw hull() for(oy=[-1,1]) translate([0,-hff+ps_offset+oy,-1]) cylinder(d=3+play_tolerance,h=thread_h+2,$fn=30); // tune screw translate([0,-sff-ms_size[1]/2,-1]) cylinder(d=3,h=thread_h+2); }//difference } module base() { - us = 2*ms_size[2]; + us = ms_size[2]+screw_shell_d/2; translate([0,-hff,0]) difference() { union() { for(sx=[-1,1]) translate([sx*(hs_size[0]-hinge_s)/2,0,0]) hull() { translate([0,0,thread_h/2]) rotate([0,90,0]) cylinder(d=thread_h,h=hinge_s,center=true,$fn=60); cube(size=[hinge_s,thread_h,thread_h],center=true); translate([-hinge_s/2,0,-1]) mirror([0,1,0]) cube(size=[hinge_s,thread_h/2+back_thickness,thread_h+1]); } // hull for hull() { translate([0,0,-us/2-slide_tolerance]) cube(size=[hs_size[0],thread_h+1,us],center=true); for(sx=[-1,1]) translate([sx*(hs_size[0]/2-ms_bump),thread_h/2,-us-slide_tolerance]) cylinder(r=ms_bump,h=us+slide_tolerance,$fn=30); } translate([-hs_size[0]/2,-thread_h/2-slide_tolerance,-us-slide_tolerance]) mirror([0,1,0]) cube(size=[hs_size[0],back_thickness,us+slide_tolerance+thread_h]); } // union translate([0,0,thread_h/2]) rotate([0,90,0]) cylinder(d=3+screw_tolerance,h=hs_size[0]+2,center=true,$fn=12); for(smx=[0,1]) mirror([smx,0,0]) translate([hs_size[0]/2+1,0,thread_h/2]) rotate([0,-90,0]) cylinder(d=screwhead_d+slide_tolerance,h=screwhead_h+1,$fn=30); /* changed my mind; for(srx=[-1,1]) rotate([srx*15,0,0]) translate([0,0,thread_h/2-slide_tolerance]) cube(size=[hs_size[0]-2*hinge_s,thread_h*sqrt(2)+2,thread_h],center=true); */ // switch mount |