buffalo_wings.airfoil.cst_airfoil_to_spline
- buffalo_wings.airfoil.cst_airfoil_to_spline(airfoil, *, include_source_spec=False)[source]
Convert one canonical CST airfoil into an exact Bezier spline airfoil.
- 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 airfoil built from the exact canonical CST side curves.
- Return type:
- Raises:
TypeError – If
airfoilis not a canonicalCstAirfoil.