Read time: 0.0 minutes (1 words)

part: rear_hook

Design Notes

(None)

part Design File

fuselage/rear_hook/rear_hook.scad
 1//#######################################
 2// rear_hook.scad
 3// (c) 2021 - Roie R. Black
 4//***************************************
 5include <rear_hook_data.scad>
 6$fn=100;
 7
 8
 9module rear_hook() {
10  color(rear_hook_color) {
11    // rear of ms
12    cylinder(r=r,h=b);
13
14    // top  bend
15    translate(p1)
16    rotate([90,0,0])
17      rotate_extrude(angle=90, convexity=10)
18        translate([bend_radius, 0])
19          circle(r);
20    // top stub
21    translate(p1 + [-stub_length,0,bend_radius])
22      rotate([0,90,0])
23        cylinder(r=r, h=stub_length);
24
25    // lower ms  bend
26    translate(p2)
27      rotate([90,0,0])
28        rotate_extrude(angle=-45, convexity=10)
29          translate([bend_radius, 0])
30            circle(r);
31
32
33    // upper hook side
34    translate(p3)
35      rotate([0,-135,0])
36        cylinder(r=r,h=hook_side);
37
38    // hook bend
39    translate(p4)
40      rotate([90,-135,0])
41        rotate_extrude(angle=90, convexity=10)
42          translate([bend_radius, 0])
43            circle(r);
44
45    // lower hook side
46    translate(p5)
47      rotate([0,135,0])
48        cylinder(r=r,h=hook_side);
49  }
50}
51
52rear_hook();

Component Data File(s)

fuselage/rear_hook/rear_hook_data.scad
 1//#####################################
 2// rear-hook-data.scad
 3// (c) 2021 - Roie R. Black
 4//*************************************
 5include <colors.scad>
 6include <../motor_stick/motor_stick_data.scad>
 7include <../thrust_bearing/thrust_bearing_data.scad>
 8
 9rear_hook_color = METAL_Steel;
10
11wire_diameter = 0.025;
12stub_length = 1/8;
13
14// calculated values for hook
15
16ka = sin(45);
17r = wire_diameter/2;
18bend_radius = 1.5*wire_diameter;
19ms_height = motor_stick_rear_height;
20hook_offset = thb_height;
21hook_side = (hook_offset - 2*bend_radius*ka)/ka;
22
23a = stub_length;
24b = ms_height - wire_diameter;
25c = hook_side;
26
27p1 = [-bend_radius,0,b];
28p2 = [-bend_radius,0,0];
29p3 = p2 + [bend_radius*ka,0,-bend_radius*ka];
30p4 = p3 + [-hook_side*ka, 0,-hook_side*ka] + [bend_radius*ka,0,-bend_radius*ka];
31p5 = p4 + [-bend_radius*ka,0,-bend_radius*ka];
32
33density = 501.12;
34