Skip to content

Wingdesigner v0.2.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 21:14
· 190 commits to main since this release
3b9a67c

Added

  • Spanwise interpolation Straight panels (straight lines between sections, as XFLR5)
    (settings.spanwise "straight"): every point of a section joins the point of the same chord
    fraction of the next section in a straight line, as XFLR5 builds its panels. Stations lie at the
    sections only, and no stations are added. A guide curve on stops the build with a message.
  • Setting Section planes (settings.sectionPlanes): Mitred (square to the panels, as XFLR5),
    the default, or Vertical (y = const), the planes of 0.1.0. Mitred planes keep the root
    vertical, put a section between two panels in their bisector plane and the tip square to the last
    panel, and stretch each airfoil in thickness by 1/cos of the angle between its plane and the
    panel, as XFLR5 and flow5 do. The wing is as thick across every panel as its airfoil; vertical
    planes give cos δ (81.9 % on a 35° V-tail). A panel less than 1 mm wide in y counts as no panel:
    the sections at its ends share the bisector plane of the panels around it, as XFLR5 does for
    panels shorter than 0.1 mm. Linear panels between planes of different roll get the spanwise
    stations per panel and a cubic loft. Smooth builds vertical planes, with an info line in
    Checks. Meshes, STEP caps and the project JSON follow the rolled end planes; derived.stations[]
    carries roll and stretch.
  • Build errors of mitred planes: a stretch above 2 (60° between plane and panel; a plane that rounds
    to 60.0° builds, and the message gives the stretch to 3 decimals, 2.366 times for a first panel
    at 65°); with Straight panels, planes of neighbouring sections that meet within the airfoils;
    with Linear, planes that turn along a panel faster than its airfoils allow, at a section for
    both panels next to it; and planes of neighbouring stations that cross within the airfoils after
    the fit.
  • Section field panelAngle and the Sections column Panel angle (shown with Mitred and
    Linear or Straight panels): the angle of the panel to the next section that the mitred
    planes use for rolls and stretches, −89.9999 to 89.9999°. Empty: the dihedral from y and z, shown
    as auto 1.5. It stays when a section moves; + halfway along a panel copies it.
  • Export checkbox Fusion 360 fix: Y up (also SolidWorks) (STEP, STL, 3MF): writes every point
    (x, y, z) as (x, z, −y), so the upper surface faces +Y. CAD programs with Y as the up axis show a
    Z-up file on its side: Fusion 360 set to Y up showed the side of the wing in its top view. The
    checkbox starts as it was at the last export (browser storage, key wingdesigner.upAxis); the
    project JSON keeps the axes of the app.
  • Info lines in the Checks tab, after errors and warnings.

Changed

  • Project format version 2. A version 1 file opens with Vertical section planes, as designed; an
    app that reads version 1 only refuses a version 2 file. New projects, the wizard and the sample wing
    get Mitred: a preset with dihedral builds more stations (Sport, Trainer, Plank: 9 instead of 2;
    sample wing: 17 instead of 3). The Sport wing has 1.4 % less volume, because the loft follows the
    Linear blend exactly instead of a ruled surface 0.343 mm off it.
  • XFLR5 import: the project gets Straight panels instead of Linear, and an untilted part
    Mitred section planes. Where airfoil frames move the two sections of a panel differently, the
    section stores XFLR5's dihedral as panelAngle (difference above 0.001°), so the planes and
    stretches are XFLR5's. Two sections at one y (an airfoil switch, moved 0.5 mm apart) share one
    plane. A tilted part imports with Vertical section planes and stores its folded tilt
    (foldedTilt: angle, pivot x and z); a part whose mitred planes would fold or stretch an airfoil
    more than 2 times imports vertical too. The report names the section planes and the reason; a
    tilted part set to Mitred later gets a warning with the estimated distance from XFLR5's part.
    Against the STL that the code of XFLR5 6.62 writes (largest distance of an XFLR5 vertex from the
    built surface, first with Linear and Vertical, the settings of the 0.1.0 import, then as
    0.2.0 imports): UltraStick120.xfl main wing 4.17 and 0.04 mm,
    UltraStick25e.xfl main wing 2.00 and 0.03 mm, the 4 untilted 35° V-tails of
    initialAerodynamicSym.xfl 2.87 and 0.013 mm, the 40° V-tail of mini_talon.xfl 2.31 and
    0.025 mm; 80 of 93 real surfaces lie within 0.6 mm.
  • Settings: the option Linear between sections (straight panels) reads Linear between
    sections
    ; linear panels bend where the chord changes together with the airfoil or the twist.
  • The side panel is up to 650 px wide (600 px in 0.1.0), so the Sections table keeps its row buttons
    in view with the Panel angle column; the German headers Schränkung and Feldwinkel break
    at a soft hyphen.

Fixed

  • 3D view after a reload: the empty status bar was 17 px lower at start-up, so the first camera fit
    took a 3D view 17 px higher than the one that followed. A 3D view narrower than high (a desktop
    window with the 650 px side panel, or a narrow window) then showed the wing smaller after a reload
    than after New. The status bar keeps the height of one line from the start.
  • Airfoil check: a crossing of the first and the last outline segment does not count when their free
    ends lie at most 1e-4 of the chord apart (the limit of the check te-crossed). 19 UIUC
    files that start at x = 1.00000 and end at x = 1.00001 (sd7003.dat, sd8000.dat and others)
    and the aerodesign.de copies of s3021.dat and sd7080.dat load; the main wing of the XFLR5
    project Gertie.xfl (airfoil SD8000-089-88) imports.
  • XFLR5 import: .xfl projects of XFLR5 6.10.01 to 6.10.04 read. These versions write the index
    into the reserved blocks of wings and planes (0 to 19 and 0 to 49), which the reader refused as
    damage.
  • XFLR5 import: a library airfoil whose chord line is inclined more than 0.5° gets a warning with the
    angle and the trailing-edge offset at the largest chord of its sections, in place of the info line
    of the airfoil check. The Library Clark Y (2.00° nose up) picked for a level copy such as the UIUC
    CLARK Y AIRFOIL sits 2.00° more nose up than in XFLR5: 14.0 mm at the trailing edge of a 400 mm
    chord.

Use: unzip wingdesigner-v0.2.0-site.zip and open index.html in the browser; it runs from the file without a web server (tested in Chromium). A static web server on the folder works as well, e.g. python3 -m http.server. LICENSES.txt holds the licenses of the app and of its bundled libraries.