From f73300ff4bf3cb0a46937dd4dacbf350f739fddc Mon Sep 17 00:00:00 2001 From: TQ Hirsch Date: Fri, 29 Apr 2022 22:32:52 +0200 Subject: [PATCH] Final adjustments to mechanical bits before printing starts --- mechanical/parts.scad | 15 ++++++++------- mechanical/stock_parts.scad | 4 ++++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/mechanical/parts.scad b/mechanical/parts.scad index 026b833..bdcda53 100644 --- a/mechanical/parts.scad +++ b/mechanical/parts.scad @@ -4,6 +4,7 @@ include include frame_size = 20; +frame_expansion = 0.2; // expansion on each side wall_thickness = 2; corner_size = 40; // length of mating surface between corner and frame // The length along each edge that the corner bracket takes. I.e., if @@ -23,7 +24,7 @@ belt_height2 = belt_height1 + belt_width + 2; ysled_rail_spacing = (sled_ysize); motor_shaft_xoffset = 15; -motor_mount_length_adjustment = 8; +motor_mount_length_adjustment = 5; motor_mount_length = nema17_face + wall_thickness + motor_mount_length_adjustment; // distance between centerline of rail and centerline of frame Y tube. @@ -53,10 +54,10 @@ module corner_base(extension = wall_thickness) { polygon(points = cap_points); // two bars... - translate([ -frame_size / 2, actual_corner_offset, -frame_size / 2 ]) - cube([ frame_size, ldim, frame_size ]); - translate([ actual_corner_offset, -frame_size / 2, -frame_size / 2 ]) - cube([ ldim, frame_size, frame_size ]); + translate([ -frame_size / 2 - frame_expansion, actual_corner_offset, -frame_size / 2 - frame_expansion ]) + cube([ frame_size + frame_expansion*2, ldim, frame_size + frame_expansion*2 ]); + translate([ actual_corner_offset, -frame_size / 2 - frame_expansion, -frame_size / 2 - frame_expansion ]) + cube([ ldim, frame_size + frame_expansion * 2, frame_size + frame_expansion*2 ]); // Screw holes for (pos = [10, 30], @@ -70,7 +71,7 @@ module corner_base(extension = wall_thickness) { } // Adjustable feet - cylinder(d=8, h=odim * 2 + 1, center=true, $fn = screw_num_sides); + cylinder(d=m6_insert_d, h=odim * 2 + 1, center=true); } } @@ -177,7 +178,7 @@ module nema17_housing() { translate([ 0, -nema17_face / 2 - frame_size / 2 - wall_thickness, 0 ]) { slotify(slot_vector) { translate([ 0, 0, -belt_height2/2 - wall_thickness ]) - cube([ nema17_face + 1, nema17_face + 1, hdepth + belt_height2 ], center = true); + cube([ nema17_face + 2, nema17_face + 2, hdepth + belt_height2 ], center = true); cylinder(d = 23, frame_size); } for (x = [-1, 1], y = [-1,1]) { diff --git a/mechanical/stock_parts.scad b/mechanical/stock_parts.scad index 96cc01e..4011678 100644 --- a/mechanical/stock_parts.scad +++ b/mechanical/stock_parts.scad @@ -8,6 +8,10 @@ bushing_len = 24; nema17_face = 42.3; +m3_insert_d = 4.2; +m5_insert_d = 7.5; +m6_insert_d = 8.2; + module colorize(colorname) { if (use_colors) { color(colorname) union() { children(); }