X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=mini-arrow-fuselage.scad;h=2589b35bab949d4c12020767129d7fdb9fabae36;hb=HEAD;hp=0d71e95b489cbbd43ed39ceb7297052083051bae;hpb=5bd70147873ac02d27c53ac897771c33a5498d24;p=things.git diff --git a/mini-arrow-fuselage.scad b/mini-arrow-fuselage.scad index 0d71e95..2589b35 100644 --- a/mini-arrow-fuselage.scad +++ b/mini-arrow-fuselage.scad @@ -2,7 +2,7 @@ infty = 300; eps = 0.01; fuse_w = 60; -fuse_h = 30; +fuse_h = 33; fuse_l = 132; @@ -39,6 +39,8 @@ top_window_x = corner_x + 3; top_window_l = center_rod_x - 8 - top_window_x; top_window_w = fuse_w - 4*wall; +front_edge_w = 4; + module body_cube() { translate([0, -fuse_w/2, 0]) cube([fuse_l, fuse_w, fuse_h]); @@ -72,21 +74,19 @@ module body() { for (y = [-1, 1]) scale([1, y, 1]) { intersection () { body_cube(); - translate([front_rod_x, fuse_w/2, 0]) - rotate([0, 0, front_rod_angle]) { + translate([front_rod_x, fuse_w/2, 0]) { + rotate([0, 0, front_rod_angle]) translate([-rod_support_w/2, -rod_support_l, 0]) - cube([rod_support_w, 2*rod_support_l, front_rod_h+rod_support_h_add]); - translate([-rod_support_w/2, -3*wall, 0]) - cube([rod_support_w, 6*wall*tan(front_rod_angle), fuse_h]); + cube([rod_support_w + 3*wall, 2*rod_support_l, front_rod_h+rod_support_h_add]); +// translate([-rod_support_w/2, -3*wall, 0]) +// cube([rod_support_w, 6*wall*tan(front_rod_angle), fuse_h]); + translate([-0.707*front_edge_w, 0, 0]) + rotate([0, 0, -30]) + translate([-front_edge_w, -front_edge_w, 0]) + cube([2*front_edge_w, 2*front_edge_w, fuse_h]); } } } - // firewall springs - spring_d = 2.5; - spring_h = 10; - for (y = [-1,1]) scale([1, y, 1]) - translate([spring_d/2, fuse_w/2-wall, fuse_h/2-spring_h/2+wall/2]) - cylinder(r = spring_d/2, h = spring_h, $fn = 4); } difference() { @@ -109,4 +109,8 @@ difference() { // top window translate([top_window_x, -top_window_w/2, -eps]) cube([top_window_l, top_window_w, fuse_h]); + + // front hole + translate([front_rod_x-wall, -infty/2, front_rod_h + rod_support_h_add]) + cube(infty); }