]> www.fi.muni.cz Git - things.git/commitdiff
wing-tube-support: lighter version
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 11 Mar 2019 17:08:52 +0000 (18:08 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 11 Mar 2019 17:08:52 +0000 (18:08 +0100)
wing-tube-support.scad

index d07bd1ee7bfac3892e54b0b879af0c981019e957..b43ffaafed5df19b56e64c7f8656c13c8f806a89 100644 (file)
@@ -55,10 +55,10 @@ module body() {
        for (y = [-1,1]) 
        for (x = [-1,1])
        scale([x, y, 1])  hull() {
-               translate([base_w/2-thin_wall, base_l/3, 0])
-                       cube([thin_wall, thin_wall, thin_wall]);
-               translate([-thin_wall/2, -base_l/2, 0])
-                       cube([thin_wall, thin_wall, tube_zoff + tube_d-thin_wall]);
+               translate([base_w/2-thin_wall/2, base_l/3, 0])
+                       cylinder(r = thin_wall/2, h = thin_wall, $fn = 16);
+               translate([0, -base_l/2+thin_wall/2, 0])
+                       cylinder(r = thin_wall/2, h = tube_zoff + tube_d - thin_wall, $fn = 16);
        }
 
        // under the tube supports
@@ -96,4 +96,13 @@ difference() {
        translate([0, -base_l/2-eps, tube_d/2+tube_zoff])
        rotate([-90, 0, 0])
                cylinder(r = tube_d/2, h = base_l + 2*eps);
+       // central hole in the base plate
+       translate([0, 0, -eps]) scale ([1, base_l/base_w, 1])
+               cylinder(r = base_w/6, h = thin_wall+2*eps);
+       // side holes in the base plate
+       for (y = [-1, 1])
+       for (x = [-1, 1])
+       scale([x, y, 1])
+       translate([0.3*base_w, 0.3*base_l, -eps]) 
+               cylinder(r = base_w/10, h = thin_wall+2*eps);
 }