splinepy.io.irit.load#

splinepy.io.irit.load(fname, expand_tabs=True, strip_comments=False)[source]#

Read spline in .itd form.

Parameters:
  • fname (str) – Path to the irit file to read in.

  • expand_tabs (bool) – Replace all tabs in the irit file. Defaults to True.

  • strip_comments (bool) – (BETA) tries to identify comments and strips them from file

Returns:

splines – Spline Type defined in NAME_TO_TYPE

Return type:

list