buffalo_wings.wing.WingDefinitionSpec

class buffalo_wings.wing.WingDefinitionSpec(symmetry, half_span, reference_axis, twist_axis, panels, name=None, frame=None, joins=<factory>)[source]

Bases: object

The wing object from the documented schema.

Parameters:
  • symmetry (SymmetryMode)

  • half_span (float)

  • reference_axis (ReferenceAxis)

  • twist_axis (ReferenceAxis)

  • panels (list[PanelSpec])

  • name (str | None)

  • frame (FrameSpec | None)

  • joins (list[JoinSpec])

symmetry

Symmetry mode applied to the wing definition.

Type:

{"mirror_y", "none"}

half_span

Half-span of the wing in the declared length units.

Type:

float

reference_axis

Reference axis used for panel placement.

Type:

{"leading_edge", "quarter_chord", "elastic_axis"}

twist_axis

Axis about which twist values are applied.

Type:

{"leading_edge", "quarter_chord", "elastic_axis"}

panels

Ordered spanwise panel definitions for the wing.

Type:

list[PanelSpec]

name

Optional human-readable name for the wing definition.

Type:

str or None, optional

frame

Optional axis-label metadata for documentation.

Type:

FrameSpec or None, optional

joins

Join constraints applied between neighboring panels.

Type:

list[JoinSpec], optional

__init__(symmetry, half_span, reference_axis, twist_axis, panels, name=None, frame=None, joins=<factory>)
Parameters:
  • symmetry (SymmetryMode)

  • half_span (float)

  • reference_axis (ReferenceAxis)

  • twist_axis (ReferenceAxis)

  • panels (list[PanelSpec])

  • name (str | None)

  • frame (FrameSpec | None)

  • joins (list[JoinSpec])

Return type:

None

Methods

__init__(symmetry, half_span, ...[, name, ...])

Attributes

symmetry

half_span

reference_axis

twist_axis

panels

name

frame

joins