buffalo_wings.airfoil.surface_samples_to_dict

buffalo_wings.airfoil.surface_samples_to_dict(samples, *, include_parameters=True, include_derivatives=True)[source]

Convert one sampled airfoil surface to plain Python data.

Parameters:
  • samples (SurfaceSamples) – Sampled one-surface payload produced by the public sampling API.

  • include_parameters (bool, default True) – Whether to include the sampled xi, surface-local arc length, and native curve parameter vectors.

  • include_derivatives (bool, default True) – Whether to include slope, finite-slope flags, and curvature.

Returns:

Export-friendly mapping containing only plain Python scalars, booleans, lists, and nested lists.

Return type:

dict[str, object]