From 736cd53b2fcbe09e4da932244c93c86f2927ae0a Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Sat, 16 Jan 2016 17:58:12 -0500 Subject: [PATCH] Improved tolerance and positioning Shelf mount should fit a bit better, and all holes should no longer be a little bit off. The rear bolt heads were deeper than my guesstimate. This is off center from the wilson x-carriage... because the wilson x-carriage bolt holes are actually off center. I decided to keep mine centered. --- carriage adapter/itty-wilson.scad | 35 +++++++++++++++++-------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/carriage adapter/itty-wilson.scad b/carriage adapter/itty-wilson.scad index 1bb60a5..3abb13d 100644 --- a/carriage adapter/itty-wilson.scad +++ b/carriage adapter/itty-wilson.scad @@ -41,11 +41,11 @@ $fn = 64; hole_tolerance = 0.6; // widen holes a bit, may still need to drill out // Size of mounting bolt heads so they can be recessed -bolthead_depth = 1.6; +bolthead_depth = 2; bolthead_diameter = 5.5 + hole_tolerance; carriage_height = 64; -carriage_width = 52; +carriage_width = 51; plate_width = 75; // wilson carriage is only 50mm wide! plate_depth = 6 + bolthead_depth; // wilson default depth = 8, makerfarm = 6 @@ -74,23 +74,26 @@ carriage_offset = [(plate_width - carriage_width) / 2, 0 , 0]; corner_radius = 3; // round off the corners to make it look nicer - -difference () { - union () { - translate (carriage_offset) carriage_mount_base (); - shelf_mount_base (); +module itty_wilson () { + difference () { + union () { + translate (carriage_offset) carriage_mount_base (); + shelf_mount_base (); + } + translate (carriage_offset) carriage_mount_holes (); + shelf_mount_holes (); } - translate (carriage_offset) carriage_mount_holes (); - shelf_mount_holes (); } +itty_wilson (); + // mount to wilson x-carriage module carriage_mount_base () { linear_extrude (height = plate_depth, convexity = 8) { // outline of plate + bolt holes translate ([corner_radius, corner_radius, 0]) { minkowski () { - square ([carriage_width - corner_radius*2, carriage_height - corner_radius]); + square ([carriage_width - corner_radius*2, carriage_height - corner_radius*2]); circle (r = corner_radius); } } @@ -100,7 +103,7 @@ module carriage_mount_base () { module carriage_mount_holes () { #translate ([(carriage_width - carriage_hole_spacing) / 2, (carriage_height - carriage_hole_spacing) /2, 0]) for (x = [0, carriage_hole_spacing], y = [0, carriage_hole_spacing]) { - translate ([x, y, -0.1]) cylinder (d = carriage_bolt, h = plate_depth+1); + translate ([x, y, -50.1]) cylinder (d = carriage_bolt, h = plate_depth+100); } // after extruding, cut out spaces for M4 hex nuts. @@ -124,13 +127,13 @@ module shelf_mount_base () { } module shelf_mount_holes () { - depth = plate_depth+0.2; + depth = plate_depth*2+0.4; translate ([0, 0, -0.1]) { - // upper shelf mount - translate ([plate_cut_width/2, plate_cut_y_offset, 0]) { - for (x = [-0.001, plate_cut_width + plate_cut_distance, + // upper shelf mount + translate ([plate_cut_width/2, plate_cut_y_offset, 0]) { + for (x = [-0.001, plate_cut_width + plate_cut_distance, plate_width - plate_cut_width + 0.001, plate_width - plate_cut_width*2 - plate_cut_distance]) - #translate ([x, plate_cut_height/2, 0]) cube ([plate_cut_width + hole_tolerance, plate_cut_height, depth], center = true); + translate ([x, plate_cut_height/2, 0]) cube ([plate_cut_width + hole_tolerance, plate_cut_height, depth], center = true); // looks like the bolt is at the midpoint between the cut outs for (x = [plate_cut_x_bolt_offset - plate_cut_width, plate_width - plate_cut_x_bolt_offset]) -- 2.20.1