splinepy.helpme.create.Creator.revolved#

Creator.revolved(axis=None, center=None, angle=None, n_knot_spans=None, degree=True)[source]#

Revolve spline around an axis and extend its parametric dimension.

Parameters:
  • spline (Spline) – (self-argument if called via extract member of a spline)

  • axis (np.ndarray) – Axis of revolution

  • center (np.ndarray) – Center of revolution

  • angle (float) – angle of the revolution.

  • n_knot_spans (int) – number of non-zero knot-elements for result-spline (if applicable)

  • degree (bool) – use degrees instead of radiant

Returns:

spline

Return type:

Spline