X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=3d-printables%2Fcaster-standoff.scad;h=5b25eedc0330a905e9f63bf8e6de8902ced9d262;hb=ec1d5425b9a20fe40ca563536bdef5dc726ffc2c;hp=39ab746242d86e49c82a429f4d01c44c481c0610;hpb=35552d31aca711420f12e77e246d967cbf23f75f;p=challenge-bot diff --git a/3d-printables/caster-standoff.scad b/3d-printables/caster-standoff.scad index 39ab746..5b25eed 100644 --- a/3d-printables/caster-standoff.scad +++ b/3d-printables/caster-standoff.scad @@ -7,7 +7,17 @@ // use 10 ish for development, 60 or so for printing $fn = 60; -standoff_radius = 14.732 / 2; // 0.580 / 2 inches from spec sheet +/* measured with calipers */ +ball_diameter = 12.7 + 0.825; // extra bit added for printing imprecision +ball_radius = ball_diameter / 2; + +wall_thickness = 1; +holder_height = (25 / 32) * ball_diameter + wall_thickness; + +holder_radius = ball_radius + wall_thickness; +holder_diameter = holder_radius * 2; + +standoff_radius = holder_radius; // 0.580 / 2 inches from spec sheet standoff_height = 48; // eyeballed // eyeballed caster flange height, (0.580/5) inches, times 2 to be stronger @@ -45,14 +55,14 @@ module deck_flange_reinforcement(){ deck_flange_radius]);}}}}} module ball_holder(){ + gap = wall_thickness * 4; + floor = wall_thickness; difference (){ - cylinder(r = holder_radius, h = holder_height); - translate([0, 0, ball_radius + wall_thickness]){ + cylinder(r = holder_radius, h = holder_height + floor); + translate([0, 0, ball_radius + wall_thickness + floor]){ sphere(r = ball_radius);} - translate([0, 0, holder_height / 2 + wall_thickness]){ - cube([holder_diameter + 0.1, - wall_thickness * 2, - holder_height], + translate([0, 0, holder_height / 2 + wall_thickness + floor]){ + cube([holder_diameter + 0.1, gap, holder_height], center = true);}}} module caster_standoff(){