X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=radiacni-stit-snzb01.scad;h=0e9215c26daee0bde8abbd20914c61cb270058f0;hb=187168c7ffb026b19f9f65d5c1f726088926d11b;hp=edd468c4ab83b3f7bbcd1b49ed8f03db8564a766;hpb=5ea2183729d895f546814c9da9da7d6700ac93cc;p=things.git diff --git a/radiacni-stit-snzb01.scad b/radiacni-stit-snzb01.scad index edd468c..0e9215c 100644 --- a/radiacni-stit-snzb01.scad +++ b/radiacni-stit-snzb01.scad @@ -1,6 +1,6 @@ include -sens_h = 42.5 + 10; +sens_h = 68; sens_l = 15; sens_w = 15; bottom_d = 5; @@ -8,7 +8,7 @@ bottom_d = 5; base_d = 50; base_h = 3; -wall = 1.5; +wall = 2; clip_angle = 30; $fn = 128; @@ -29,12 +29,13 @@ Rz(-clip_angle/2) Tx(base_d/2-3*wall) intersection() { difference() { cylinder(r = 3*wall, h = base_h); - Tz(-eps) Sx(2) cylinder(r = wall, h = base_h+2*eps); + Tz(-eps) cylinder(r = 2*wall, h = base_h+2*eps); } Tx(-wall) Ty(-infty) cube(infty); } } +// base_plate difference() { cylinder(r = base_d/2-3*wall, h = base_h); Tz(wall) cylinder(r = base_d/2-4*wall, h = base_h); @@ -43,12 +44,12 @@ difference() { sens_side = 15; My() { Tx(-sens_side/2) Ty(sens_l/2) { - cube([sens_side, wall, sens_h+wall]); - Tz(sens_h/2+wall) Ry(90) Sx(2) - cylinder(r=wall/2, h = sens_side); + cube([sens_side, wall, sens_h]); // sensor side + Tz(sens_h/2+wall) Ry(90) Sx(2) + cylinder(r=wall/2, h = sens_side); // middle strut } } -translate([-sens_side/2, -sens_l/2-wall, sens_h+wall]) +translate([-sens_side/2, -sens_l/2-wall, sens_h-wall]) cube([sens_side, sens_l+2*wall, wall]);