Read time: 0.0 minutes (1 words)

assembly: fuselage

Design Notes

(None)

assembly Design File

fuselage/fuselage.scad
 1//##########################################
 2// fuselage.scad
 3// (c) 2021 - Roie R. Black
 4//******************************************
 5include <./fuselage_pos.scad>
 6
 7use <./motor_stick/motor_stick.scad>
 8use <./tail_boom/tail_boom.scad>
 9use <./rear_hook/rear_hook.scad>
10use <./thrust_bearing/thrust_bearing.scad>
11use <./wing_post/wing_post.scad>
12use <./stab_post/stab_post.scad>
13use <./fin/fin.scad>
14
15use <MMlib/position.scad>
16
17module fuselage() {
18  align(ms_pos) motor_stick();
19  align(tb_pos) tail_boom();
20  align(rh_pos) rear_hook();
21  align(thb_pos) thrust_bearing();
22  align(fin_pos) fin();
23  align(fwp_pos) wing_post();
24  align(rwp_pos) wing_post();
25  align(fsp_pos) stab_post();
26  align(rsp_pos) stab_post();
27}
28
29//----------------------------------------------
30// debug display
31fuselage();

Component Data File(s)

fuselage/fuselage_data.scad
 1//###########################################
 2// fuselage-data.scad
 3// (c) 2021 - Roie R. Black
 4//*******************************************
 5include <../math_magik_lpp_data.scad>
 6include <../constraints.scad>
 7include <../materials.scad>
 8include <thrust_bearing/thrust_bearing_data.scad>
 9include <motor_stick/motor_stick_data.scad>
10include <../prop/prop_data.scad>
11
12// wing position dimensions
13wing_offset = 1.625;
14wing_elevation = 3;
15
16// tail boom data
17tb_color = WOOD_Balsa;
18
19tb_front_height = 3/16;
20tb_rear_height = 1/16;
21tb_thickness = 3/32;
22
23tail_boom_overlap = 1/8;
24tail_boom_length = max_overall_length -ms_length + prop_forward_x + tail_boom_overlap;
25tail_boom_rear_x = max_overall_length + prop_x_offset;
26
27
28//adjust motor stick to fit bearing
29fuse_offset = thb_length - thb_top_length - 3 * tube_thickness;
30
31// front post position
32fp_offset = wing_offset - post_diameter/2 - tube_thickness;
33
34// rear post position
35rp_offset = wing_offset + max_wing_chord + post_diameter/2 + tube_thickness;
36
37
38//-------------------------------------
39// calculated values
40
41tail_boom_angle = atan2(tb_front_height - tb_rear_height,tail_boom_length);
42
43// stab positioning data
44srp_offset = tail_boom_rear_x - post_diameter - tube_thickness-1/16;
45sfp_offset = srp_offset - max_stab_chord - post_diameter - tube_thickness-1/64;

Components

Component Position File

fuselage/fuselage_pos.scad
 1//#####################################
 2// fuselage_pos.scad
 3// (c) 2021 by Roie R. Black
 4//*************************************
 5include <./motor_stick/motor_stick_data.scad>
 6include <./tail_boom/tail_boom_data.scad>
 7include <./thrust_bearing/thrust_bearing_data.scad>
 8include <../materials.scad>
 9
10// motor stick positioning
11ms_pos = [0,ms_thickness/2,0,90,0,0];
12
13// tail boom positioning
14tb_pos = [ms_length - 1/8, -ms_thickness/2-tb_thickness/2,0,0,0,0];
15
16// rear hook positioning
17rh_pos = [ms_length,0,0,0,0,0];
18
19// thrust bearing positioning
20thb_pos = [-thb_length+1/4,0,-thb_height,0,0,0];
21
22
23xf = ms_length + tail_boom_length - 1/8 - max_stab_chord;
24xt = (ms_thickness + tb_thickness-thb_thickness)/2;
25fin_pos = [xf,-xt,5/64,90,-tail_boom_angle,0];
26
27// wing post positioning
28fwp_pos = [fp_offset,-ms_thickness/2-post_diameter/2,0,0,0,0];
29rwp_pos = [rp_offset,-ms_thickness/2-post_diameter/2,0,0,0,0];
30
31// stab post positioning
32xfsp = xf-post_diameter/2;
33xrsp = xf+max_stab_chord+post_diameter/2;
34ysp = -ms_thickness/2-tb_thickness-post_diameter/2;
35fsp_pos = [xfsp,ysp,0,0,0,0];
36rsp_pos = [xrsp,ysp,0,0,0,0];