]> www.fi.muni.cz Git - things.git/commitdiff
clips more tight
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 19 Jan 2018 13:30:13 +0000 (14:30 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 19 Jan 2018 13:30:13 +0000 (14:30 +0100)
ft-scout-landing-gear-support.scad

index a5be8f0a4bde63f8836d48ae13decc0e83d1fce6..f1244a1be3789d349768361a9638e230531f76f4 100644 (file)
@@ -3,7 +3,7 @@ eps = 0.01;
 
 fuse_w = 40;
 gear_w = fuse_w - 16;
-gear_l = 26;
+gear_l = 40; // 26
 spring_l = 6;
 
 base_w = fuse_w - 10;
@@ -17,8 +17,9 @@ rear_spring_l = 2.5;
 rear_spring_rear_l = 6;
 rear_beam_w = rear_spring_l + 4;
 rear_spring_w = 3;
+rear_spring_front_bot_w = 15;
 rear_spring_bot_w = 10;
-rear_slot_w = 1.2;
+rear_slot_w = 1.4;
 
 side_spring_bot_w = 3.5;
 side_spring_w = 1.5;
@@ -48,34 +49,38 @@ module body() {
 
        // rear hook - front part
        hull() {
-               translate([gear_l-rear_spring_bot_w/2, -rear_spring_l/2, base_h])
-                       cube([rear_spring_bot_w/2-rear_slot_w/2, rear_spring_l, eps]);
+               translate([gear_l-rear_spring_front_bot_w/2, -rear_spring_l/2, base_h])
+                       cube([rear_spring_front_bot_w/2-rear_slot_w/2, rear_spring_l, eps]);
                translate([gear_l-rear_spring_w/2, -rear_spring_l/2, hook_h+hook_in+hook_wall-eps])
-                       cube([rear_spring_w/2-rear_slot_w/2, rear_spring_l, eps]);
+                       cube([rear_spring_w/2-rear_slot_w, rear_spring_l, eps]);
        }
        // rear hook - rear part
        hull() {
-               translate([gear_l + rear_slot_w/2, -rear_spring_rear_l/2, base_h])
-                       cube([rear_spring_bot_w/2-rear_slot_w/2, rear_spring_rear_l, eps]);
-               translate([gear_l + rear_slot_w/2, -rear_spring_rear_l/2, hook_h+hook_in+hook_wall-eps])
-                       cube([rear_spring_w/2-rear_slot_w/2, rear_spring_rear_l, eps]);
+               translate([gear_l, -rear_spring_rear_l/2, base_h])
+                       cube([rear_spring_bot_w/2, rear_spring_rear_l, eps]);
+               translate([gear_l, -rear_spring_rear_l/2, hook_h+hook_in+hook_wall-eps])
+                       cube([rear_spring_w/2, rear_spring_rear_l, eps]);
        }
                
        // side hooks
        for (y = [-1, 1]) scale([1, y, 1]) intersection() {
                translate([0, gear_w/2, eps]) rotate([0, 0, -side_hook_angle])
                        translate([-10, 0, 0]) hull() {
-                       cube([20, side_spring_bot_w, base_h-eps]);
-                       cube([20, side_spring_w, hook_h + hook_in + hook_wall-eps]);
+                       translate([0, -side_spring_bot_w, 0])
+                       cube([20, 2*side_spring_bot_w, base_h-eps]);
+                       translate([0, -side_spring_w, 0])
+                       cube([20, 2*side_spring_w, hook_h + hook_in + hook_wall-eps]);
                }
                // above the beam
                translate([0, -base_w/2, base_h/2])
                        cube([base_beam_w, base_w, infty]);
                // cut the front sides
+/*
                translate([0, gear_w/2 + 1.25, eps])
                rotate([0, 0, -side_hook_angle_cut])
                        translate([-5, 0, 0])
                        cube(20);
+*/
                        
        }
 }
@@ -95,7 +100,16 @@ difference() {
                translate([0, gear_w/2, hook_h+hook_in/2]) {
                        rotate([0, 90, -side_hook_angle])
                        translate([0, 0, -10])
-                       cylinder(r = hook_in/2, h = 20, $fn = 6);
+                       cylinder(r1 = hook_in, r2 = hook_in/2, h = 20, $fn = 6);
+
+                       rotate([0, 0, -side_hook_angle])
+                       rotate([25, 0, 0])
+                       hull() {        
+                               translate([-10, -rear_slot_w, 0])
+                                       cube([eps, 2*rear_slot_w, 20]);
+                               translate([10, -rear_slot_w/2, 0])
+                                       cube([eps, rear_slot_w, 20]);
+                       }
                }
        }
 }