X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=lock-inframe-bracket.scad;h=09fe5c99fafe7dc600ac40bcd8b79ed4de528e26;hp=c8e1911aa5888adf6f236f212c450735ae4dce82;hb=HEAD;hpb=efa8d5063a326a03e506fb8728807fc2184c60be diff --git a/lock-inframe-bracket.scad b/lock-inframe-bracket.scad index c8e1911..bfa6e39 100644 --- a/lock-inframe-bracket.scad +++ b/lock-inframe-bracket.scad @@ -5,7 +5,7 @@ include -tube_dia = 27.5 + 1.625; +tube_dia = 27.5 + 1.625 + 1.32; lock_w = 42.5 + 0.5; lock_d = 28.0 + 0.5; main_h = 45.0; @@ -14,11 +14,11 @@ backflange_hole_dy = -1; lockshaft_dia = 14.35; cliprecess_h = 16; -total_h = 45; +total_h = 75; back_gap = 12.5; -main_th = 3.50; -tube_th = 5.00; +main_th = 4.50; +tube_th = 5.50; midweb_d = 3; clip_th = 3.5; @@ -42,7 +42,7 @@ divide_shaft_w = 1.75; divide_shaft_l = 1.5; divide_head_dx = 1.75; divide_head_th = 1.5; -divide_gap = 0.50; +divide_gap = 0.75; divide_angle = 26; divide_fudge_r = 4.75; @@ -202,7 +202,7 @@ module MainPlan(){ ////toplevel lockshaft_or = lockshaft_r + [clip_th,clip_th]; cliprecess_ymax = cliprecess_h - lockshaft_r[1]; -clip_ymin = cliprecess_ymax - total_h; +clip_ymin = cliprecess_ymax - main_h; clip_ogap = clip_gap + clip_th*2; module ClipElevationPositive(){ @@ -262,9 +262,27 @@ module ThroughHoles(){ ThroughHole( clipbolt_dia/2, lock_0y + lock_d/2 + clip_d/2 + front_th/2, - total_h - cliprecess_h - clip_th - clip_d/2 ); + main_h - cliprecess_h - clip_th - clip_d/2 ); } +module SlopeTrimElevation(){ + far_corner_nom = [ lock_0y + lock_d/2, main_h ]; + round_centre = far_corner_nom + lock_d/2 * [0,1]; + hull(){ + translate(round_centre) circle(r= lock_d/2); + translate([ lock_0y - lock_d/2, total_h ]) square([ lock_d + clip_d, 1 ]); + translate(far_corner_nom) square([clip_d*2, 1]); + } +} + +module SlopeTrim(){ + rotate([0,90,0]) + rotate([0,0,90]) + translate([0,0, -lock_w]) + linear_extrude(convexity=100, height=lock_w*2) + SlopeTrimElevation(); +} + module MainPositive(){ difference(){ union(){ @@ -279,6 +297,7 @@ module Bracket(){ ////toplevel difference(){ MainPositive(); ThroughHoles(); + SlopeTrim(); } }