splinepy.io.json.export#

splinepy.io.json.export(fname, spline_list, list_name=None, base64encoding=False)[source]#

Exports a list of arbitrary splines in json-format

Parameters:
  • fname (str) – Export Filename

  • spline_list (list) – List of arbitrary Spline-Types

  • list_name (str) – Default is None and “SplineGroup” will be assigned. Used to define name.

  • base64encoding (bool) – Default is False. If True, encodes float type spline properties before saving.

Returns:

output_dict – Dictornay data written into file

Return type:

dict