Wing API Guide

This page groups the public buffalo_wings.wing API by role so the runtime, schema, and support types are easier to browse. Use the runtime section when you want evaluated wing geometry and sampled sections. Use the schema sections when you want serialized configuration types that match the documented wing definition forms. For the source-of-truth schema reference, see Wing Geometry Schema.

Typical Workflow

  1. Define a wing with WingSpec plus named airfoils.

  2. Build a canonical evaluator with WingCanonical.

  3. Sample evaluated stations and section curves for fitting, meshing, or inspection.

Evaluate A Wing Definition

buffalo_wings.wing.WingCanonical

Canonical evaluator for wing-section placement and sampling.

Evaluation Result Types

These types hold sampled output from the canonical wing evaluator.

buffalo_wings.wing.EvaluatedStation

Evaluated panel properties at a span station.

buffalo_wings.wing.SectionCurves

Sampled upper and lower 3D section curves at one span station.

Define A Wing In Schema

These types correspond to top-level user-facing wing schema objects.

buffalo_wings.wing.WingSpec

Top-level wing geometry schema.

buffalo_wings.wing.WingDefinitionSpec

The wing object from the documented schema.

Use Nested Schema Building Blocks

These types support nested schema blocks used by the top-level wing specs.

buffalo_wings.wing.UnitsSpec

Unit declarations used by the serialized schema.

buffalo_wings.wing.FrameSpec

Human-readable axis labels for the wing coordinate frame.

buffalo_wings.wing.PiecewiseLinearDistribution

Piecewise-linear scalar distribution over eta.

buffalo_wings.wing.RefLineSpec

Reference-axis position distributions used for sweep and dihedral.

buffalo_wings.wing.SingleAirfoilRef

Reference to a single named airfoil.

buffalo_wings.wing.BlendAirfoilRef

Spanwise airfoil blend definition for a panel.

buffalo_wings.wing.DegreesSpec

Requested NURBS polynomial degrees.

buffalo_wings.wing.ControlPointSpec

Requested NURBS control-point counts.

buffalo_wings.wing.FitSpec

Surface fitting method for internal NURBS construction.

buffalo_wings.wing.NurbsSpec

Panel-local NURBS construction controls.

buffalo_wings.wing.VlmMeshSpec

VLM sampling controls.

buffalo_wings.wing.CfdMeshSpec

CFD surface sampling controls.

buffalo_wings.wing.MeshSpec

Optional export sampling settings.

buffalo_wings.wing.PanelSpec

Parametric definition of a single spanwise wing panel.

buffalo_wings.wing.JoinSideSpec

One side of a panel-to-panel join constraint.

buffalo_wings.wing.JoinSpec

Continuity constraint across a panel interface.

See Also

For the complete export list, including the ungrouped module view, see Module Reference.