buffalo_wings.airfoil.PointsAirfoilSpec

class buffalo_wings.airfoil.PointsAirfoilSpec(type='points', format='surface_curve', leading_edge=None, points=<factory>, upper=<factory>, lower=<factory>)[source]

Bases: object

Airfoil schema defined directly from inline point coordinates.

Attributes

type

Schema discriminator for an inline point-defined airfoil.

format

Point-layout convention used by the inline coordinate payload.

leading_edge

Leading-edge split index for surface_curve point ordering.

points

Single ordered surface walk when format == "surface_curve".

upper

Upper-surface points when format == "upper_lower".

lower

Lower-surface points when format == "upper_lower".

type: Literal['points']

Schema discriminator for an inline point-defined airfoil.

format: Literal['surface_curve', 'upper_lower']

Point-layout convention used by the inline coordinate payload.

leading_edge: int | None

Leading-edge split index for surface_curve point ordering.

points: list[tuple[float, float]]

Single ordered surface walk when format == "surface_curve".

upper: list[tuple[float, float]]

Upper-surface points when format == "upper_lower".

lower: list[tuple[float, float]]

Lower-surface points when format == "upper_lower".