From 1f4a2fe8f7d7d2e088eafdefa0b18d2f5e6a1f9d Mon Sep 17 00:00:00 2001 From: Andy Killorin <37423245+Speedy6451@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:49:18 -0500 Subject: [PATCH] increased main wing taper --- src/constants.rs | 1 + src/main.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);