splinepy.io.default.load#

splinepy.io.default.load(fname)[source]#

Loads a splinepy object from a file.

Tries to find out the correct importer from the file extension. If the extension is not supported, a ValueError is raised.

Parameters:

fname (str) – Filename to load

Returns:

splinepy_obj – Splinepy object loaded from file

Return type:

Splinepy object