splinepy.io.default.export#
- splinepy.io.default.export(fname, splinepy_obj)[source]#
Exports a splinepy object to a file.
Tries to find out the correct exporter from the file extension. If the extension is not supported, a ValueError is raised.
- Parameters:
fname (str) – Export Filename
splinepy_obj (Splinepy object) – Splinepy object to be exported.
- Returns:
output_dict – Dictornay data written into file
- Return type:
dict