Skip to main content

A Python library for generating and plotting NACA airfoils (4-, 5-, 6-, and 7-series).

Project description

airfoilplotter

A Python library for generating and plotting NACA airfoils (4, 5, 6, and 7 series).

✈️ Features

  • Generate NACA 4, 5, 6, and 7 series airfoil coordinates
  • Plot airfoil shape with Matplotlib
  • Lightweight and easy to use

📦 Installation

How to Use Library

Example 1: NACA 4-series

Unsymmetric airfoil (NACA 2412)

from airfoilplotter import naca4, plot_airfoil xu, yu, xl, yl = naca4(0.02, 0.4, 0.12, symmetric=False) plot_airfoil(xu, yu, xl, yl, "NACA 2412 (Unsymmetric)")

Symmetric airfoil (NACA 0012)

xu, yu, xl, yl = naca4(0, 0, 0.12, symmetric=True) plot_airfoil(xu, yu, xl, yl, "NACA 0012 (Symmetric)")

Example 2: NACA 5-series

from airfoilplotter import naca5, plot_airfoil xu, yu, xl, yl = naca5(0.3, 0.4, 0.12) plot_airfoil(xu, yu, xl, yl, "NACA 5-Series Airfoil")

Example 3: NACA 6-series

from airfoilplotter import naca6, plot_airfoil xu, yu, xl, yl = naca6(0.3, 0.12) plot_airfoil(xu, yu, xl, yl, "NACA 6-Series Airfoil")

Example 4: NACA 7-series

from airfoilplotter import naca7, plot_airfoil xu, yu, xl, yl = naca7(0.3, 0.12) plot_airfoil(xu, yu, xl, yl, "NACA 7-Series Airfoil")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airfoilplotter-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file airfoilplotter-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: airfoilplotter-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for airfoilplotter-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9f05e3d9353952dd59b918c140171335369e59ca8fab847498fbc13fd1dd8fa
MD5 bf6ecc194d554331737ea540e36c58a3
BLAKE2b-256 0de4757c7614112d5d097b68b2675544672b03e18a990b8fb2263636ed06f148

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page