diff --git a/src/constants.rs b/src/constants.rs index ffa09e7..75b38c5 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -3,6 +3,7 @@ const IN2MM: f32 = 25.4; pub const CHORD: f32 = 11.2 * IN2MM; +pub const WING_TAPER: f32 = 0.6; pub const WINGSPAN: f32 = 45.0 * IN2MM; pub const LENGTH: f32 = 30.0*IN2MM; /// strut count in the main wing diff --git a/src/main.rs b/src/main.rs index 38c9f65..107785e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,7 @@ fn main() { // struts for port in [true,false] { - let mut wing = wing(&wing_airfoil, STRUTS/2, WINGSPAN/2.0, CHORD, CHORD * 0.8); + let mut wing = wing(&wing_airfoil, STRUTS/2, WINGSPAN/2.0, CHORD, CHORD * WING_TAPER); wing = scad!(Translate(vec3(0.0, FUSELAGE_GAP,0.0)); wing); if port { wing = scad!(Mirror(vec3(0.0, 1.0, 0.0)); wing);