v1
geometry

Generate Geometry

Generate full propeller geometry from explicit spline definitions.

Use this for custom designs that aren't in the catalog.

Body fields: diameter, pitch, num_blades, chord_spline, thickness_spline, thickness_scale, airfoil, and the optional editor-intent DOFs twist_spline (explicit twist B-spline; absent => pitch-derived twist) and airfoil_layout (per-station airfoil breakpoints; absent => single airfoil).

Returns a geometry resource with the preview array fields (radius, chord, twist, thickness, hub_radius, section_airfoils) PLUS loft-ready section_coords (cosine-sampled per station) for the 3D viewer / CAD export.

Stateless compute; the DB is touched ONLY to resolve caller-owned afl_ custom airfoils referenced in airfoil_layout (caller-scoped). An unknown airfoil name or an unfittable layout -> 422 unknown_airfoil.

post/v1/geometry/generate

Request

  • Base URL: https://thrustlab.com
  • URL: https://thrustlab.com/v1/geometry/generate
  • Auth: HTTP bearer

Request body

airfoilstring
chord_stationsnumber[] nullable

Chord per station, normalized c/R.

diameternumber required

Diameter in inches

hub_r_over_Rnumber nullable

The blade's own hub as a fraction of tip radius. Absent => the legacy APC diameter regression.

num_bladesinteger
pitchnumber required

Pitch in inches

station_r_over_Rnumber[] nullable

Station r/R column — strictly increasing within (0, 1]. Its presence switches chord/twist/thickness/sweep from spline evaluation to radius interpolation.

sweepnumber[] nullable
sweep_stationsnumber[] nullable

Swept c/4 leading-edge locus per station, x_le/R.

thickness_scalenumber
thickness_stationsnumber[] nullable

Thickness per station, t/c.

twist_stationsnumber[] nullable

Twist per station, degrees.

Response

Successful Response

chordnumber[] required
hub_radiusnumber required
objectstring
radiusnumber[] required
thicknessnumber[] required
twistnumber[] required

Changes

No recorded changes to this operation across all 1 revision of this API.