]> www.fi.muni.cz Git - things.git/commitdiff
FliteTest Mini Scout wing reinforcement
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 31 Oct 2017 21:39:43 +0000 (22:39 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 31 Oct 2017 21:39:43 +0000 (22:39 +0100)
ft-scout-wing-reinforcement.scad [new file with mode: 0644]

diff --git a/ft-scout-wing-reinforcement.scad b/ft-scout-wing-reinforcement.scad
new file mode 100644 (file)
index 0000000..d7329c8
--- /dev/null
@@ -0,0 +1,46 @@
+eps = 0.01;
+infty = 1000;
+
+lateral_angle = 18;
+dihedral = 10;
+
+wall = 1.0;
+
+fuse_w = 36;
+body_l = 40;
+
+foam_w = 3;
+
+module plate(w, h, la, d) {
+       intersection() {
+               translate([-eps, -infty/2, -eps])
+                       cube([w, infty, h]);
+               rotate([la, 0, 0])
+               rotate([0, 0, d])
+               translate([-infty/2, 0, -infty/2])
+                       cube([infty, wall, infty]);
+       }
+}
+
+for (z = [-1, 1]) for (x = [-1, 1]) scale([x, 1, z])
+       plate(fuse_w/2, body_l/2, lateral_angle/2, dihedral/2);
+
+// lateral beam
+hull() {
+       for (z = [-1, 1]) scale ([1, 1, z]) {
+               rotate([lateral_angle/2, 0, 0])
+                       translate([-wall/2, 0, 0])
+                               cube([wall, wall/2, foam_w/sin(lateral_angle/2)]);
+
+       }
+}
+
+// cross beam
+hull() {
+       for (x = [-1, 1]) scale ([x, 1, 1]) {
+               rotate([0, 0, dihedral/2])
+                       translate([0, wall/2, -wall/2])
+                               cube([fuse_w/2, wall/2, wall]);
+
+       }
+}