splinepy.helpme.visualize.show#

splinepy.helpme.visualize.show(spline, **kwargs)[source]#

Shows splines with various options.

They are excessively listed, so that it can be adjustable.

Parameters:
  • spline (Spline / Multipatch)

  • resolutions (int or (spline.para_dim,) array-like)

  • control_points (bool)

  • knots (bool)

  • fitting_queries (bool)

  • return_gustaf (bool) – Return dict of gustaf discrete objects, for example, {Vertices, Edges, Faces}, instead of opening a window

  • return_showable (bool) – Return dict of showable objects.

  • parametric_space (bool) – Only relevant for vedo backend.

  • c (str) – Default is None. Black for curves, else green.

  • alpha (float)

  • lighting (str)

  • control_point_ids (bool)

  • color_spline (str)

  • cmap (str)

Returns:

things_to_show – iff return_discrete==True, dict of gustaf objects that are showable. iff return_showable==True, dict of backend objects that are showable.

Return type:

dict