splinepy.helpme.reparametrize.flip_axes#

splinepy.helpme.reparametrize.flip_axes(spline, axes, inplace=False)[source]#

Flip the parametric axes

This function flips parametric axes without changing the parametric bounds of the spline. This can be used, e.g., to achieve conformity on a multipatch interface

Parameters:
  • spline (Spline)

  • axes (list) – List of axes to be flipped

  • inplace (bool) – Default is True. If True, modifies spline inplace, else, returns a modified_spline.

Returns:

modified_spline – spline with reordered parametric dimensions. iff inplace=True.

Return type:

type(spline)