]> www.fi.muni.cz Git - things.git/blobdiff - radiacni-stit-snzb01.scad
radiacni stit v2
[things.git] / radiacni-stit-snzb01.scad
index edd468c4ab83b3f7bbcd1b49ed8f03db8564a766..0e9215c26daee0bde8abbd20914c61cb270058f0 100644 (file)
@@ -1,6 +1,6 @@
 include <yenyalib.scad>
 
-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]);