buffalo_wings.airfoil.cst_airfoil_to_spline_spec
- buffalo_wings.airfoil.cst_airfoil_to_spline_spec(airfoil, *, include_source_spec=False)[source]
Export one canonical CST airfoil as an exact spline schema definition.
- Parameters:
airfoil (
Airfoil) – Airfoil to convert. This exact conversion path requires a canonicalCstAirfoil.include_source_spec (
bool, defaultFalse) – Whether to embed a serializable snapshot of the source CST schema in the spline provenance metadata.
- Returns:
Bezier-backed spline schema definition built from the exact canonical CST side curves.
- Return type:
- Raises:
TypeError – If
airfoilis not a canonicalCstAirfoil.