buffalo_wings.airfoil.SplineAirfoilSpec

class buffalo_wings.airfoil.SplineAirfoilSpec(type='spline', representation='bezier', upper=<factory>, lower=<factory>, provenance=None)[source]

Bases: object

Spline-backed airfoil definition.

Notes

The first implemented spline schema supports only representation="bezier". Upper and lower surfaces are stored independently in their natural leading-edge-to-trailing-edge order. Optional provenance metadata records how the spline was obtained, but the spline control data remains the authoritative geometry.

Attributes

type

Schema discriminator for a spline-backed airfoil.

representation

Supported spline representation subtype.

upper

Upper-surface spline control data.

lower

Lower-surface spline control data.

provenance

Optional provenance metadata for derived spline airfoils.

type: Literal['spline']

Schema discriminator for a spline-backed airfoil.

representation: Literal['bezier']

Supported spline representation subtype.

upper: SplineSurfaceSpec

Upper-surface spline control data.

lower: SplineSurfaceSpec

Lower-surface spline control data.

provenance: SplineAirfoilProvenanceSpec | None

Optional provenance metadata for derived spline airfoils.