]> www.fi.muni.cz Git - things.git/blobdiff - mini-arrow-firewall.scad
mini arrow parts - bigger inside space. WIP.
[things.git] / mini-arrow-firewall.scad
index 271f488e038810a3d2aa02f363f7a665bd6fb68b..693db242c77ff091d33e9ba596b02933383e4f6b 100644 (file)
@@ -11,14 +11,14 @@ motor_center_hole = 8 + 2;
 outer_wall = 2;
 
 body_w = 60 - 2*outer_wall - 0.5;
-body_h = 30 - outer_wall - 0.5;
+body_h = 33 - outer_wall - 0.5;
 body_depth = 25;
 strut_h = 12;
 corner_l = 8;
 
 motor_plate_h = 2.5; // base thickness of the motor mount
 motor_plate_add = 2; // horizontal size added to the holes
-wall = 1; // base thickness of other parts
+wall = 1.5; // base thickness of other parts
 
 side_overhang = 1.5;
 
@@ -81,18 +81,10 @@ for (x = [-1, 1]) for (y = [-1, 1]) scale([x, y, 1]) hull() {
                cylinder(r = wall/2, h = motor_plate_h);
 }
 
-hole_l = 12;
-hole_h = 1.5;
-hole_z = 0;
-
 // corners
 for (x = [-1, 1]) scale([x, 1, 1]) {
-       difference() {
-               translate([body_w/2-wall, -body_h/2, 0])
-                       cube([wall, body_h, strut_h]);
-               translate([body_w/2-wall-eps, -hole_l/2, hole_z + wall])
-                       cube([wall + 2*eps, hole_l, hole_h]);
-       }
+       translate([body_w/2-wall, -body_h/2, 0])
+               cube([wall, body_h, strut_h]);
                
        for (y = [-1, 1]) scale ([1, y, 1]) {
                translate([body_w/2-corner_l, body_h/2 - wall, 0])
@@ -100,3 +92,7 @@ for (x = [-1, 1]) scale([x, 1, 1]) {
        }
 }
 
+// sides
+for (y = [-1, 1]) scale([1, y, 1])
+       translate([-body_w/2, body_h/2-wall, 0])
+               cube([body_w, wall, strut_h/2]);