X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=lock-inframe-bracket.scad;h=815ad1eff8872a64c4f329e2198a7b002884a4f4;hb=d8597d6c14dae52647ff6e8bed9e4d64b11c0575;hp=c7baf24fc4091031daf7edc0f3e8e083e272a9d5;hpb=6a414717cf5034f954d3ef7cc4e11348293164ed;p=reprap-play.git diff --git a/lock-inframe-bracket.scad b/lock-inframe-bracket.scad index c7baf24..815ad1e 100644 --- a/lock-inframe-bracket.scad +++ b/lock-inframe-bracket.scad @@ -5,15 +5,15 @@ lock_w = 42.5 + 0.5; lock_d = 28.0 + 0.5; main_h = 45.0; backflange_d = 12; +lockshaft_dia = 15.5; -lockshaft_r = [5, 5]; cliprecess_h = 16; total_h = 45; back_gap = 7; main_th = 2.5; midweb_d = 3; -clip_th = 2.5; +clip_th = 3.5; clip_gap = 2.5; clip_d = 22.0; @@ -22,8 +22,11 @@ clipbolt_dia = 5 + 0.5; backflange_th = 3.5; +$fn=50; + // calculated +lockshaft_r = [1, 1] * lockshaft_dia / 2; front_th = main_th; tube_th = main_th; @@ -73,7 +76,11 @@ clip_ymin = cliprecess_ymax - total_h; clip_ogap = clip_gap + clip_th*2; module ClipElevationPositive(){ - oval(lockshaft_or); + hull(){ + oval(lockshaft_or); + translate([0, -lockshaft_or[1] * sqrt(2)]) + square(center=true, 0.5); + } translate([-lockshaft_or[0], 0]) square([lockshaft_or[0]*2, cliprecess_ymax]); translate([-clip_ogap/2, 0]) mirror([0,1]) square([clip_ogap, -clip_ymin]); @@ -118,7 +125,7 @@ module ThroughHoles(){ } ThroughHole( clipbolt_dia/2, - lock_0y + lock_d/2 + clip_d/2, + lock_0y + lock_d/2 + clip_d/2 + front_th/2, total_h - cliprecess_h - clip_th - clip_d/2 ); } @@ -132,7 +139,17 @@ module MainPositive(){ } } +module Bracket(){ + difference(){ + MainPositive(); + ThroughHoles(); + } +} + //MainPlan(); +//ClipElevationPositive(); //ClipElevation(); -MainPositive(); -%ThroughHoles(); +//MainPositive(); +//%ThroughHoles(); + +Bracket();