rudder wing
This commit is contained in:
parent
9647d1b3b2
commit
1ae4fcfd24
2 changed files with 5 additions and 1 deletions
|
@ -13,3 +13,7 @@ pub const SPAR_SIDE_WIDTH: f32 = 0.75 * IN2MM;
|
|||
pub const FUSELAGE_GAP: f32 = 10.0 * IN2MM;
|
||||
/// a very large number, used to place unknown objects such that they do not intersect
|
||||
pub const INF: f32 = 1000.0;
|
||||
pub const RUDDER_HEIGHT: f32 = 5.0 *IN2MM;
|
||||
pub const RUDDER_CHORD: f32 = 4.0 *IN2MM;
|
||||
pub const RUDDER_TAPER: f32 = 0.7;
|
||||
pub const RUDDER_STRUTS: usize = 3;
|
||||
|
|
|
@ -38,7 +38,7 @@ fn main() {
|
|||
|
||||
// rudder
|
||||
let mut rudder = scad!(Rotate(90.0, vec3(1.0, 0.0, 0.0)));
|
||||
rudder.add_child(strut(&evert, CHORD, CARDBOARD_WIDTH));
|
||||
rudder.add_child(wing(&evert, RUDDER_STRUTS, RUDDER_HEIGHT, RUDDER_CHORD, RUDDER_CHORD * RUDDER_TAPER));
|
||||
|
||||
scad_file.add_object(rudder);
|
||||
|
||||
|
|
Loading…
Reference in a new issue