From ce6a6be1e9b0a3e9b955fb94111010193efdab8d Mon Sep 17 00:00:00 2001 From: TQ Hirsch Date: Sun, 24 Apr 2022 23:58:24 +0200 Subject: [PATCH] Updated scad files based on test prints --- mechanical/assembly.scad | 2 ++ mechanical/constants.scad | 2 +- mechanical/parts.scad | 11 +++++++---- mechanical/stock_parts.scad | 2 +- mechanical/test_prints.scad | 27 ++++++++++++++++++++++----- 5 files changed, 33 insertions(+), 11 deletions(-) diff --git a/mechanical/assembly.scad b/mechanical/assembly.scad index 5626e58..b58b2e8 100644 --- a/mechanical/assembly.scad +++ b/mechanical/assembly.scad @@ -1,3 +1,5 @@ +$fs=0.1; + include include diff --git a/mechanical/constants.scad b/mechanical/constants.scad index 78139bd..d4d6e14 100644 --- a/mechanical/constants.scad +++ b/mechanical/constants.scad @@ -14,7 +14,7 @@ cur_ypos = 140; echo(str("Range = ", [ xsize - xmin * 2, ysize - ymin * 2 ])); -//$fn = 30; +$fn = 30; screw_hole_expansion = 1.1; screw_num_sides = 7; \ No newline at end of file diff --git a/mechanical/parts.scad b/mechanical/parts.scad index 3a7e3ef..026b833 100644 --- a/mechanical/parts.scad +++ b/mechanical/parts.scad @@ -409,6 +409,7 @@ module xsled_frame() { } } + gt2_clip_meshing_dist = belt_pitch * 6; gt2_clip_peg_diam = 8; // min 6 gt2_clip_ease_in_diam = 6; @@ -418,7 +419,9 @@ gt2_clip_gap_diam = gt2_clip_peg_diam + belt_thickness * 2 + 1; gt2_clip_thickness = (gt2_clip_peg_diam + gt2_clip_gap_diam)/2; gt2_clip_length = gt2_clip_narrowing_dist + gt2_clip_meshing_dist + gt2_clip_peg_diam / 2 + gt2_clip_gap_diam - belt_thickness; module gt2_clip_cutout(teeth_inside) { - dual_width = belt_thickness * 2 - tooth_height; + + belt_expansion = 0.5; + dual_width = belt_thickness * 2 - tooth_height + belt_expansion; loop_peg_diam = gt2_clip_peg_diam; // min 6mm gap_diam = gt2_clip_gap_diam; narrowing_ease_diam = 6; @@ -426,7 +429,7 @@ module gt2_clip_cutout(teeth_inside) { meshing_dist = gt2_clip_meshing_dist; ease_out_rad = gap_diam - belt_thickness ; - out_off = teeth_inside ? 0 : dual_width - belt_thickness; + out_off = teeth_inside ? 0 : dual_width - belt_thickness - belt_expansion; translate([ -(narrowing_dist + meshing_dist + (ease_out_rad - out_off - belt_thickness)) -(teeth_inside ? tooth_height - belt_pld : belt_backing) @@ -453,7 +456,7 @@ module gt2_clip_cutout(teeth_inside) { [0, 0], [meshing_dist - 1, 0], [meshing_dist, - out_off], - [meshing_dist, - belt_thickness - out_off], + [meshing_dist, - belt_thickness - out_off - belt_expansion], [meshing_dist - 1, - dual_width], [0, - dual_width] ]); @@ -463,7 +466,7 @@ module gt2_clip_cutout(teeth_inside) { square(ease_out_rad + 2); difference() { circle(ease_out_rad - out_off); - circle(ease_out_rad - out_off - belt_thickness); + circle(ease_out_rad - out_off - belt_thickness - belt_expansion); } } } diff --git a/mechanical/stock_parts.scad b/mechanical/stock_parts.scad index 050e399..638ca28 100644 --- a/mechanical/stock_parts.scad +++ b/mechanical/stock_parts.scad @@ -27,7 +27,7 @@ module bushing() { } // located with the shaft in +z, face on the XY plane -module nema17(depth = 23.5) { +module nema17(depth = 38) { bom_item(printable = false, label = "NEMA-17 stepper motor"); face = 42.3; screw_pitch = 31 / 2; diff --git a/mechanical/test_prints.scad b/mechanical/test_prints.scad index 1b5597a..8b8bc9a 100644 --- a/mechanical/test_prints.scad +++ b/mechanical/test_prints.scad @@ -18,11 +18,28 @@ module bearing_slot() { } let($fn = 30) { - translate([-28, 0, frame_size/2]) - rotate([0,90,0]) bearing_slot(); + //translate([-28, 0, frame_size/2]) + //rotate([0,90,0]) bearing_slot(); - translate([28, 0, frame_size/2]) - rotate([0,-90,0]) bearing_slot(); + //translate([28, 0, frame_size/2]) + // rotate([0,-90,0]) bearing_slot(); - idler_post(10); + //idler_post(10); + + + intersection() { + translate([0,0,belt_width/2 + 4]) + union() { + gt2_clip(true); + translate([0,-1,0]) + mirror([0,1,0]) + gt2_clip(false); + } + + translate([-40, -40, 0]) + cube([80,80,belt_width + 2]); + } + +//gt2_clip_cutout(false); } +