buffalo_wings.wing.PanelSpec

class buffalo_wings.wing.PanelSpec(id, eta_range, ref_line, chord, twist, airfoil, nurbs=None, mesh=None)[source]

Bases: object

Parametric definition of a single spanwise wing panel.

Parameters:
  • id (str)

  • eta_range (tuple[float, float])

  • ref_line (RefLineSpec)

  • chord (DistributionSpec)

  • twist (DistributionSpec)

  • airfoil (AirfoilRefSpec)

  • nurbs (NurbsSpec | None)

  • mesh (MeshSpec | None)

id

Unique panel identifier within the wing definition.

Type:

str

eta_range

Inclusive spanwise parameter range covered by the panel.

Type:

tuple[float, float]

ref_line

Reference-axis position distributions for the panel.

Type:

RefLineSpec

chord

Spanwise chord distribution over eta_range.

Type:

DistributionSpec

twist

Spanwise twist distribution over eta_range.

Type:

DistributionSpec

airfoil

Airfoil definition or blend applied across the panel.

Type:

AirfoilRefSpec

nurbs

Optional panel-local NURBS construction overrides.

Type:

NurbsSpec or None, optional

mesh

Optional export mesh sampling overrides for the panel.

Type:

MeshSpec or None, optional

__init__(id, eta_range, ref_line, chord, twist, airfoil, nurbs=None, mesh=None)
Parameters:
  • id (str)

  • eta_range (tuple[float, float])

  • ref_line (RefLineSpec)

  • chord (DistributionSpec)

  • twist (DistributionSpec)

  • airfoil (AirfoilRefSpec)

  • nurbs (NurbsSpec | None)

  • mesh (MeshSpec | None)

Return type:

None

Methods

__init__(id, eta_range, ref_line, chord, ...)

Attributes

id

eta_range

ref_line

chord

twist

airfoil

nurbs

mesh